Exchange Provider::MailEnableGroup
The MailEnableGroup method mail-enables a group, which effectively turns the group into a distribution list. The method also performs the following tasks related to address lists:
Checks the otherWellKnownGuids property on the parent container to verify if a WKGUID=9E444526CB6F4d5c9A59C9A84E26B627 is set on the organization. If so, the method appends the DN of the well-known-object to the showInAddressBook attribute. This is the hosted organization AL.
Checks the otherWellKnownGuids property on the parent container to verify if a WKGUID=89FB25B7DF784fc198A493E2E8A0EE7E is set on the organization. If so, the method appends the DN of the well-known-object to the showInAddressBook attribute. This is the hosted organization GAL.
Sets the organization as an otherWellKnownObjects attribute on the user, by using the value: WKGUID=B7AE2ABCCBAD41a28973559FCA154DB0.
Arguments
Input argument | Required | Description |
---|---|---|
Path |
Yes |
The Lightweight directory access protocol (LDAP) path of the organization; must be either a container or an OU. |
CN |
Yes |
The CN of the group to mail enable. |
ProxyAddress |
Yes |
The proxy address to be set for the group. |
Remarks
Rollback Calls
The MailEnableGroup method calls the MailDisableGroup method on transaction rollback.
Sample Code
Example XML Request
The following is an example of an XML request for the MailEnableGroup method of the Exchange Provider:
<request>
<data/>
<procedure>
<execute namespace='Exchange Provider'
procedure='MailEnableGroup'>
<executeData>
<path>LDAP://OU=litware,OU=consolidatedmessenger,
DC=fabrikam,DC=com
</path>
<cn>DL1</cn>
<proxyAddress>johnc@litware.com</proxyAddress>
</executeData>
</execute>
</procedure>
</request>
Example XML Response
No example XML response.
Applies To
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0