=user(); function
Outline
The =user(); Scripting Engine function gets a user session property from current user context.
Aliases
=user();
=u();
Properties
The user function has simple input
Property | Datatype | Default value | Description |
---|---|---|---|
[UserProperty] | String | The user session property you want to retrieve |
Examples
=u(id); =u(fullname); =u(locale); =u(ext1);
User Properties
Property | Description |
---|---|
userid / uid / id | Unique identifier (Integer) of Business Analyze user |
username | Username of Business Analyze user (logon username) |
Email of Business Analyze user | |
fullname | Fullname of Business Analyze user |
locale | Language of Business Analyze user |
mobile | Mobile phone number of Business Analyze user |
orgunitid / oid | Unique identifier (Integer) of organization unit of Business Analyze user |
pgroupid / pgid | Unique identifier (Integer) of primary usergroup of Business Analyze user |
groupids / gids | List of unique identifiers (Integers) of all usergroups of Business Analyze user |
style | Layout / theme / style of default desktop for Business Analyze user |
isadmin | Flag identifies if Business Analyze user is System Administrator or not |
ext1, ext2 .... ext10 | Extrafield value of Business Analyze user |
gext1, gext2 .... gext10 | Extrafield value of primary usergroup of Business Analyze user |
oext1, oext2 .... oext10 | Extrafield value of organization unit of Business Analyze user |
object | Complete user object serialized into JSON format of Business Analyze user |