auth::password::can_retrieve_p (public)
auth::password::can_retrieve_p -authority_id authority_id
Defined in packages/acs-authentication/tcl/password-procs.tcl
Returns whether the given authority can retrieve 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 retrieving 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::CanRetrievePassword -authority_id $authority_id] } on error {errorMsg} { ad_log Error "Error invoking CanRetrievePassword operation for authority_id $authority_id: $errorMsg" return 0 } return $result_pXQL Not present: Generic, PostgreSQL, Oracle