Force Password Change

Description

Set the indicator to force a user to change their password next time they sign in.

Input

<ForcePasswordChange>
<userLogonReference>logon reference</userLogonReference>
<password>password</password>
<userLogonReferenceUpdate>logon reference</userLogonReferenceUpdate>
</ForcePasswordChange>

userLogonReferenceUpdate is the user whose password change is to be forced. If omitted, userLogonReference is used (i.e. the user themselves). User must have update-password permission to update the password of another user.

Password for proxy users cannot be updated.

Output

<ForcePasswordChange>
<errorNumber>0</errorNumber>
</ForcePasswordChange>

Errors

101 - not authorised

105 - user error

106 - state error - when attempting to set the password for a proxy user

Class

com.metrici.xerula.ForcePasswordChangeService