Hosted Exchange::EnableUser
This procedure enables a user object in the Active Directory directory service and records a billing event.
Arguments
Input argument | Required | Description |
---|---|---|
<path> |
Yes |
The Lightweight Directory Access Protocol (LDAP) path of user. |
<preferredDomainController> |
Yes |
Remarks
Provisioning Steps
Managed Active Directory::EnableUser - Test for UserCreator role and enable the user.
Hosted Exchange::LogEventRecord_ - Record an Enabled event in the Customer Plan database
Security
- Impersonate caller.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="Hosted Exchange" procedure="EnableUser" impersonate="1">
<executeData>
<path>LDAP://CN=bob@alpineskihouse.com,OU=alpineskihouse,OU=WH,OU=Hosting,DC=fabrikam,DC=Com</path>
<preferredDomainController>AD01.fabrikam.com</preferredDomainController>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
No example XML response
Applies To
Hosted Exchange Namespace API for:
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0