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)

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: