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

CurrentUserOrganizationalUnitName

Returns the name of the organizational unit for the user associated with the current session. This is the Organizational Unit field from Organization section of the Details tab in the user profile.

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

Syntax

CurrentUserOrganizationalUnitName()

Enabled for

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

Parameters

none  

Return Value

Text value.

Example

$(CurrentUserOrganizationalUnitName())

In one example, the above function returns "GMI".