Reference > Expressions > Built-in Functions > Current User Functions > CurrentUserField

CurrentUserField

Returns the value for the specified field for the current session.

This function always reads raw field values from the current user database record. Therefore, the current user field returned by this function is not initialized or calculated when the field is accessed, even if it has an initialization or calculation rule assigned.

Syntax

CurrentUserField(field)

Enabled for

Search/Dashboard Yes
Business Rules Yes
Quick Actions Yes
Workflow Objects No
Reports No

Parameter

field The name of the field that contains the information that you want to see.

Returns

Text value. Returns the value of the field.

Example

Any field on the employee business object can be accessed by passing this expression.

$(CurrentUserField("CostCentre"))

CurrentUserField() Example