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):
%3 test_auth_password_can_change_reset_retrieve_p auth_password_can_change_reset_retrieve_p (test acs-authentication) auth::password::can_reset_p auth::password::can_reset_p test_auth_password_can_change_reset_retrieve_p->auth::password::can_reset_p ad_log ad_log (public) auth::password::can_reset_p->ad_log ad_try ad_try (public) auth::password::can_reset_p->ad_try auth::password::CanResetPassword auth::password::CanResetPassword (private) auth::password::can_reset_p->auth::password::CanResetPassword auth::password::get_forgotten_url auth::password::get_forgotten_url (public) auth::password::get_forgotten_url->auth::password::can_reset_p auth::password::recover_password auth::password::recover_password (public) auth::password::recover_password->auth::password::can_reset_p packages/acs-admin/www/users/one.tcl packages/acs-admin/ www/users/one.tcl packages/acs-admin/www/users/one.tcl->auth::password::can_reset_p

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