Hosted Active Directory::SetUserPassword

The SetUserPassword method sets the password of a customer Active Directory user object.

Arguments

Input Arguments Required Description

<path>

Yes

The Lightweight Directory Access Protocol (LDAP) path of user.

<newPassword>

Yes

he new password.

<preferredDomainController>

Yes

The name of the preferred domain controller.

Remarks

Procedure Step

  • Managed Active Directory::SetUserPassword

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="SetUserPassword" impersonate="1"> 
                        <executeData> 
                                <path>LDAP://bob@alpineskihouse.com,OU=AlpineSkiHouse,OU=WH,OU=HOSTING,DC=Fabrikam,DC=Com</path> 
                                <newPassword do-not-log="1">newer</newPassword> 
                                <preferredDomainController>ad01.fabrikam.com</preferredDomainController> 
                        </executeData> 
                </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::ChangeUserPassword