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

CurrentUserOrganizationalUnit

Returns the RecID (unique record identifier) of the organizational unit of the user associated with the current session.

  • Use this function to return the RecID of the organizational unit of the current session.
  • Use the CurrentUserOrganizationalUnitName function to return the name of the organizational unit of the current session.

Syntax

CurrentUserOrganizationalUnit()

Enabled for

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

Parameters

none  

Return Value

Text value.

Example

$(CurrentUserOrganizationalUnit())

In one example, the above function returns 4A05123D660F408997A4FEE714DAD111.

CurrentUserOrganizationalUnit() Example

The above is an example of using this function in a quick action.