auth::authority::get_id (public)

 auth::authority::get_id -short_name short_name

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

Get authority_id by short_name.

Switches:
-short_name
(required)
The short_name of the authority you wish to get information for.
Returns:
authority_id or the empty string if short_name doesn't exist.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_authority_api auth_authority_api (test acs-authentication) auth::authority::get_id auth::authority::get_id test_auth_authority_api->auth::authority::get_id test_auth_authority_edit auth_authority_edit (test acs-authentication) test_auth_authority_edit->auth::authority::get_id test_auth_use_email_for_login_p auth_use_email_for_login_p (test acs-authentication) test_auth_use_email_for_login_p->auth::authority::get_id test_party_procs_test party_procs_test (test acs-tcl) test_party_procs_test->auth::authority::get_id test_person_procs_test person_procs_test (test acs-tcl) test_person_procs_test->auth::authority::get_id auth::authority::get_id_not_cached auth::authority::get_id_not_cached (private) auth::authority::get_id->auth::authority::get_id_not_cached util_memoize util_memoize (public) auth::authority::get_id->util_memoize acs::test::auth::install acs::test::auth::install (private) acs::test::auth::install->auth::authority::get_id acs::test::user::create acs::test::user::create (public) acs::test::user::create->auth::authority::get_id auth::authority::local auth::authority::local (public) auth::authority::local->auth::authority::get_id auth::get_register_authority auth::get_register_authority (public) auth::get_register_authority->auth::authority::get_id

Testcases:
auth_authority_api, auth_use_email_for_login_p, auth_authority_edit, person_procs_test, party_procs_test
Source code:
    return [util_memoize [list auth::authority::get_id_not_cached -short_name $short_name]]
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: