Returns the full set of team names 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 all the team names.
Use the CurrentUserTeamIds function to return a list of the team IDs for all the teams.
Use the CurrentUserTeam function to return the name of the primary team.
For a description of the business object categories, see Notes on "Enabled For".
|Business Object Category||Yes/No|
|Business Rules: Before-Save Rules||Yes1|
|Business Rules: Calculation Rules (After Save, with or without Also Recalculate on Load)||Yes1|
|Business Rules: Calculation Rules (Before Save or Always, without Also Recalculate On Load)||Yes1|
|Business Rules: Calculation Rules (Before Save or Always, with Recalculate On Load)||Yes1|
|Business Rules: Editing Rules||Yes1|
|Business Rules: Initialization Rules||Yes1|
|Business Rules: Read Only Rules||Yes1|
|Business Rules: Required Rules||Yes1|
|Business Rules: Validation Rules||Yes2|
|Quick Actions (except UI Quick Actions)||Yes1|
|UI Quick Actions||Yes|
|Search/Dashboard without field references||Yes1|
|Search/Dashboard with field references||Yes1|
|1. Except in services.|
|2. Except in services and when this field appears on a form or is triggered by such a field.|
List of text items. Lists of text items are only valid in certain places that accept lists, such as the in list operator in saved searches.
The following example finds the active incidents assigned to the team (including the primary team and all other teams) for the user associated with the current session.