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):
%3 test_auth_password_can_change_reset_retrieve_p auth_password_can_change_reset_retrieve_p (test acs-authentication) auth::password::can_retrieve_p auth::password::can_retrieve_p test_auth_password_can_change_reset_retrieve_p->auth::password::can_retrieve_p auth::password::get_forgotten_url auth::password::get_forgotten_url (public) auth::password::get_forgotten_url->auth::password::can_retrieve_p auth::password::recover_password auth::password::recover_password (public) auth::password::recover_password->auth::password::can_retrieve_p

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_p
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: