auth::password::can_reset_p (public)
auth::password::can_reset_p -authority_id authority_id
Defined in packages/acs-authentication/tcl/password-procs.tcl
Returns whether the given authority can reset forgotten passwords.
- Switches:
- -authority_id (required)
- The ID of the authority that the user is trying to log into.
- Returns:
- 1 if the authority allows resetting passwords, 0 otherwise.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- auth_password_can_change_reset_retrieve_p
Source code: set result_p 0 ad_try { set result_p [auth::password::CanResetPassword -authority_id $authority_id] } on error {errorMsg} { ad_log Error "Error invoking CanResetPassword operation for authority_id $authority_id: $errorMsg" } return $result_pXQL Not present: Generic, PostgreSQL, Oracle