Changes the password of the specified user.

Syntax

Visual Basic (declaration)
Public Function ChangeUserPassword( _ 
ByVal AuthenticationTicket as String, _ ByVal UserName as String, _ ByVal NewPassword as String) as XmlNode

C# (declaration)
public XmlNode ChangeUserPassword( 
string AuthenticationTicket, string UserName, string NewPassword)

Parameters

AuthenticationTicket
    string inforouter ticket
UserName
    string The username of the user whose password is to be updated.
NewPassword
    string The new password

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the password has been changed successfully.
if success attribute is "false", the error attribute indicates the encountered error.

Remarks

The caller must be the system administrator or a domain manager of the domain in which the user is a local member or the user.
The active password policy will be applied.