auth::authority::get (public)
auth::authority::get [ -authority_id authority_id ] [ -array array ]
Defined in packages/acs-authentication/tcl/authority-procs.tcl
Get info about an authority and return the authority_id. If no authority is specified, then return
- Switches:
- -authority_id (optional)
- The authority you want to get. If not specified, return the default authority
- -array (optional)
- Name of an array into which the detailed attributes should be delivered
- Returns:
- authority_id
- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- auth_authority_api, auth_driver_get_parameter_values, auth_authority_edit
Source code: if {$authority_id eq ""} { # # Get the default authority (in future probably for the # specified or current subsite). # set authority_id [lindex [auth::authority::get_authority_options] 0 1] } if {[info exists array]} { upvar $array row array set row [util_memoize [list auth::authority::get_not_cached $authority_id]] } return $authority_idGeneric 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