Function "ChangePassword()"

Top  Previous  Next

Changes the password of the currently logged in user. This function is provided to enable users to change their own passwords. See also ResetPassword.

Syntax:

ChangePassword(oldpassword, newpassword, newpassword-again)

 

Parameters:

oldpassword

the current password of the user.

newpassword

the new password for the user.

newpassword-again

the new password again for the user. The newpassword-again must be identical with the newpassword parameter.

 

Completion Codes:

0: Normal completion

8: oldpassword is incorrect or newpassword and newpassword-again do not match.

12: Syntax error or Security Broker error

 

Example:

ChangePassword(password, newpassword, newpasswordagain)

 

See SML Functions