Hosted Active Directory::ChangeUserPassword
The ChangeUserPassword method changes the password of a customer Active Directory user object.
Arguments
Input Arguments | Required | Description |
---|---|---|
<path> |
Yes |
The Lightweight Directory Access Protocol (LDAP) path of the user. |
<oldPassword> |
Yes |
The user's old password. |
<newPassword> |
Yes |
The user's new password. |
<preferredDomainController> |
Yes |
The name of the preferred domain controller. |
Remarks
Procedures Steps
- Managed Active Directory::ChangeUserPassword
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="ChangeUserPassword" impersonate="1">
<executeData>
<path>LDAP://OU=Alpineskihouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</path>
<oldPasswordedo-not-log="1">old</oldPassword>
<newPasswordedo-not-log="1">new</newPassword>
<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