Function "ResetPassword()" |
![]() ![]() ![]() |
Resets the password of the given user. This function is provided for the administration purposes and reset the password of the given user without specifying the current password. The function can also be used to let the users who has forgotten their passwords to change their passwords. See Resetting Forgotten Passwords. Syntax: ResetPassword(username, newpassword, newpassword-again)
Parameters: username the name of the user account. 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: username is invalid or disabled or newpassword and newpassword-again do not match. 12: Syntax error or Security Broker error
Example: ResetPassword(username, newpassword, newpasswordagain)
See SML Functions
|