Hosted Active Directory::DeleteUser
The DeleteUser method deletes a user, marks the user deleted in the plan database, 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 Plans::DeleteCustomer - removes the user record
Managed Active Directory::DeleteUser - Delete the user.
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
See also
Tasks
Hosted Active Directory::CreateUser
Hosted Active Directory::ModifyUser