Hosted Active Directory::DisableUser
The DisableUser method disables a User object in Active Directory and records a billing event.
Arguments
Input Arguments | Required | Description |
---|---|---|
<path> |
Yes |
The Lightweight Directory Access Protocol (LDAP) path of user. |
<preferredDomainController> |
Yes |
The name of the preferred domain controller. |
Remarks
Procedures Steps
Managed Active Directory::DisableUser
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="DeleteUser" impersonate="1">
<executeData>
<path>LDAP://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