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.



Enabled For

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 Yes2
Business Rules: Initialization Rules Yes1
Business Rules: Read Only Rules No
Business Rules: Required Rules Yes2
Business Rules: Validation Rules Yes2
Client Expressions No
Object Permissions Yes
Services Yes
Mobile Yes
Quick Actions (except UI Quick Actions) Yes1
UI Quick Actions No
Reports Yes1
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.



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.


You can use this information in saved searches. The example below finds all incidents that are owned by any of the teams of which you are a member.

CurrentUserTeamIDs() Example