auth::test::get_admin_user_id (private)

 auth::test::get_admin_user_id

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

Return the user id of a site-wide-admin on the system

Partial Call Graph (max 5 caller/called nodes):
%3 acs_magic_object acs_magic_object (public) db_string db_string (public) auth::test::get_admin_user_id auth::test::get_admin_user_id auth::test::get_admin_user_id->acs_magic_object auth::test::get_admin_user_id->db_string

Testcases:
No testcase defined.
Source code:
    set context_root_id [acs_magic_object security_context_root]

    return [db_string select_user_id {
        select min(user_id)
          from users
        where acs_permission.permission_p(:context_root_id, user_id, 'admin')
    }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: