Managed Active Directory::ChangeUserPassword
The ChangeUserPassword method changes a user's password.
Arguments
The ChangeUserPassword method accepts the following input parameters.
Input arguments | Required | Description |
---|---|---|
User |
No |
The Lightweight Directory Access Protocol (LDAP) path to the user object. |
OldPassword |
No |
The current password. |
NewPassword |
No |
The new password. |
PreferredDomainController |
No |
The domain controller to use for this operation. |
SendCredentials |
No |
True/False: embed basic authentication credentials in the MPF request. |
ErrorReturn |
No |
Out parameter containing the error (if any) thrown by MPF during the processing of the request. |
The ChangeUserPassword method has the following return values.
Output arguments | Description |
---|---|
True |
If the method succeeds. |
False |
If the method fails to change the user password. |
Remarks
No remarks.
Sample Code
No sample code.
Applies To
Managed Active Directory Web Service for:
Hosted Messaging and Collaboration version 4.0
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0
Windows-based Hosting version 4.5
Windows-based Hosting version 4.0
Windows-based Hosting version 3.5
Windows-based Hosting for Applications version 1.0