Update Password

Description

Change a user's password.

Input

<UpdatePassword>
<userLogonReference>logon reference</userLogonReference>
<password>password</password>
<userLogonReferenceUpdate>logon reference</userLogonReferenceUpdate>
<newPassword>newpassword</newPassword> </UpdatePassword>

userLogonReferenceUpdate is the user whose password is to be updated. If omitted, userLogonReference is used (i.e. the user's own password). User must have update-password permission to update the password of another user.

newPassword must be given for a user to update their own password. A user can update another user's password to blank, which deletes the current password and prevents the user from signing on.

New password must not contain spaces.

If the force password change indicator was set when creating the user (forcing them to create their own password), update password will reset this indicator.

Output

<UpdatePassword>
<errorNumber>0</errorNumber>
</UpdatePassword>

Errors

101 - not authorised
105 - user error

Class

com.metrici.xerula.UpdatePasswordService