acs_user::get_element (public)
acs_user::get_element [ -user_id user_id ] \ [ -authority_id authority_id ] [ -username username ] \ -element element
Defined in packages/acs-tcl/tcl/community-core-procs.tcl
Get a particular element from the basic information about a user returned by acs_user::get. Throws an error if the element does not exist. It is recommended to use use acs_user::get instead. This function will be probably deprecated after the release of 5.10.
- Switches:
- Options:
- -user_id (optional)
- -authority_id (optional)
- -username (optional)
- -element (required)
- -user_id
- The user_id of the user to get the bio for. Leave blank for current user.
- -element
- Which element you want to retrieve.
- Returns:
- The element asked for.
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- auth_confirm_email
Source code: return [acs_user::get -user_id $user_id -authority_id $authority_id -username $username -element $element]Generic XQL file: packages/acs-tcl/tcl/community-core-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/community-core-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/community-core-procs-oracle.xql