auth::password::reset (public)
auth::password::reset [ -admin ] -authority_id authority_id \ -username username
Defined in packages/acs-authentication/tcl/password-procs.tcl
Reset the user's password, which means setting it to a new randomly generated password and inform the user of that new password.
- Switches:
- -admin (optional, boolean)
- Specify this flag if this call represents an admin changing a user's password.
- -authority_id (required)
- The authority of the user
- -username (required)
- The username of the user
- Returns:
- An array list with the following entries:
- password_status: ok, no_account, not_supported, reset_error, failed_to_connect
- password_message: A human-readable message to be relayed to the user. May be empty if password_status is ok. May include HTML. Could be empty if password_status is ok.
- password: The new, automatically generated password. If no password is included in the return array, that means the new password has already been sent to the user somehow. If it is returned, it means that caller is responsible for informing the user of his/her new password.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- auth_password_reset