Hosted Active Directory::EnableUser
The EnableUser method enables a User object in Active Directory and records a billing event.
Arguments
Input Arguments | Required | Description |
---|---|---|
<path> |
Yes |
The LDAP path of user. |
<preferredDomainController> |
Yes |
The name of the preferred domain controller. |
Remarks
Procedures Steps
Managed Active Directory::EnableUser - Test for UserCreator role and enable the user.
Managed Plans::SetCustomerStatus.
ManagedPlans::UpdateLastProvisioningDate.
Sample Code
Example XML Request
<request xmlns:xsl="https://www.w3.org/1999/XSL/Transform">
<procedure xmlns:xsl='https://www.w3.org/1999/XSL/Transform'>
<execute namespace="Hosted Active Directory" 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>
Applies To
Hosted Active Directory Namespace API for
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0