---
title: CurrentUserTeamIds
slug: neurons-for-itsm/admin-user-help/enu/latest/currentuserteamids
createdAt: 2026-07-14T19:16:33.529Z
---

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.

:::hint{type="info"}
Use this function to return a list of the team IDs for all the teams.

Use the [CurrentUserTeamNames](docId\:T7D5_BAw6qIOsjT4EAtjv) function to return a list of all the team names.

Use the [CurrentUserTeam](docId\:JRqpxht3XL4Fsr_RKpUOB) function to return the name of the primary team.
:::

## Syntax

`CurrentUserTeamIds()`

## Enabled For

For a description of the business object categories, see [Notes on "Enabled For"](docId\:u26v9feCFs6iLwA0-PVJd).

| 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    |
| LDAP                                                                                                                     | 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.<br />2. Except in services and when this field appears on a form or is triggered by such a field. |        |

## 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

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.

:::Paragraph{indent="1"}
*CurrentUserTeamIDs() Example*
:::

::Image[]{src="https://api.archbee.com/api/optimize/parib0MC3hVoUNdfQdnac/2VKug3MTxo82fKuNbPkJI_currentuserteamids.png" position="flex-start" size="40" initialPath="../../Resources/Images/help-images/CurrentUserTeamIds.png" githubPath="Content/Resources/Images/help-images/CurrentUserTeamIds.png" showCaption="false" width="1141" height="270" darkWidth="1141" darkHeight="270" indent="1"}
