auth::authority::get_element (public)

 auth::authority::get_element [ -authority_id authority_id ] \
    -element element

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

Return a specific element of the auth_authority data table.

Switches:
-authority_id (optional)
-element (required)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_authority_edit auth_authority_edit (test acs-authentication) auth::authority::get_element auth::authority::get_element test_auth_authority_edit->auth::authority::get_element auth::authority::get auth::authority::get (public) auth::authority::get_element->auth::authority::get auth::authority::get_select_columns auth::authority::get_select_columns (private) auth::authority::get_element->auth::authority::get_select_columns auth::authenticate auth::authenticate (public) auth::authenticate->auth::authority::get_element auth::authentication::authenticate auth::authentication::authenticate (public) auth::authentication::authenticate->auth::authority::get_element auth::authority::edit auth::authority::edit (public) auth::authority::edit->auth::authority::get_element auth::create_local_account auth::create_local_account (public) auth::create_local_account->auth::authority::get_element auth::create_user auth::create_user (public) auth::create_user->auth::authority::get_element

Testcases:
auth_authority_edit
Source code:
    if { $element ni [get_select_columns] } {
        error "Column '$element' not found in the auth_authority data source."
    }

    get -authority_id $authority_id -array row
    return $row($element)
Generic XQL file:
packages/acs-authentication/tcl/authority-procs.xql

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

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

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