auth::local::user_info::GetUserInfo (private)

 auth::local::user_info::GetUserInfo username [ parameters ]

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

Implements the GetUserInfo operation of the auth_user_info service contract for the local account implementation.

Parameters:
username (required)
parameters (optional)

Testcases:
auth_user_info_implementations
Source code:
    set user_id [acs_user::get_by_username -username $username]
    set result(info_status) [auth::get_local_account_status -user_id $user_id]
    set result(info_message) ""
    db_1row get_user_info {} -column_array user_info
    set result(user_info) [array get user_info]

    return [array get result]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="auth::local::user_info::GetUserInfo.get_user_info">
    <querytext>
            select user_id, first_names, last_name, username, email
              from cc_users 
             where user_id = :user_id
      </querytext>
</fullquery>
packages/acs-authentication/tcl/local-procs.xql

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