auth::get_local_account_status (public)

 auth::get_local_account_status -user_id user_id

Defined in packages/acs-authentication/tcl/authentication-procs.tcl

Return 'ok', 'closed', or 'no_account'

Switches:
-user_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth__delete_local_account auth__delete_local_account (test acs-authentication) auth::get_local_account_status auth::get_local_account_status test_auth__delete_local_account->auth::get_local_account_status acs_user::get_user_info acs_user::get_user_info (public) auth::get_local_account_status->acs_user::get_user_info ad_try ad_try (public) auth::get_local_account_status->ad_try auth::check_local_account_status auth::check_local_account_status (private) auth::get_local_account_status->auth::check_local_account_status party::get party::get (public) auth::get_local_account_status->party::get auth::local::user_info::GetUserInfo auth::local::user_info::GetUserInfo (private) auth::local::user_info::GetUserInfo->auth::get_local_account_status sec_login_handler sec_login_handler (public) sec_login_handler->auth::get_local_account_status

Testcases:
auth__delete_local_account
Source code:
    set result no_account
    ad_try {
        set user [acs_user::get_user_info -user_id $user_id]
        set party_info [party::get -party_id $user_id]
        set check_result [auth::check_local_account_status  -user_id $user_id  -authority_id      [dict get $user authority_id]  -member_state      [dict get $user member_state]  -email_verified_p  [dict get $user email_verified_p]  -email             [dict get $party_info email]  -screen_name       [dict get $user screen_name]  -password_age_days [dict get $user password_age_days]]

        set result [dict get $check_result account_status]
    } on error {errorMsg} {
        ns_log notice "auth::get_local_account_status returned: $errorMsg"
    }
    return $result
Generic XQL file:
packages/acs-authentication/tcl/authentication-procs.xql

PostgreSQL XQL file:
packages/acs-authentication/tcl/authentication-procs-postgresql.xql

Oracle XQL file:
packages/acs-authentication/tcl/authentication-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: