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

CurrentUserTeamIds

Returns the full set of team IDs for the user associated with the current session, as defined under the Teams tab on the Employee Details form.

  • Use this function to return a list of the team IDs for all the teams.
  • Use the CurrentUserTeamNames function to return a list of all the team names.
  • Use the CurrentUserTeam function to return the name of the primary team.

Syntax

CurrentUserTeamIds()

Enabled for

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

Parameters

none  

Return Value

List of text values. Lists of text values are only valid in certain places that accept lists, such as the in list operator in saved searches.

Example

$(CurrentUserTeamIds())