---
title: CurrentUserTeamNames
slug: neurons-for-itsm/admin-user-help/enu/latest/currentuserteamnames
createdAt: 2026-07-14T19:16:49.486Z
---

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.

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

Use the [CurrentUserTeamIds](docId\:Byf7J6NEbVyHmwl4mRAj_) function to return a list of the team IDs for all the teams.

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

## Syntax

`CurrentUserTeamNames()`

## 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                                                                                            | Yes1   |
| Business Rules: Initialization Rules                                                                                     | Yes1   |
| Business Rules: Read Only Rules                                                                                          | Yes1   |
| Business Rules: Required Rules                                                                                           | Yes1   |
| Business Rules: Validation Rules                                                                                         | Yes2   |
| Client Expressions                                                                                                       | Yes    |
| Object Permissions                                                                                                       | Yes    |
| Services                                                                                                                 | Yes    |
| LDAP                                                                                                                     | Yes    |
| Mobile                                                                                                                   | Yes    |
| Quick Actions (except UI Quick Actions)                                                                                  | Yes1   |
| UI Quick Actions                                                                                                         | Yes    |
| 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 items. Lists of text items are only valid in certain places that accept lists, such as the in list operator in saved searches.

## Example

`$(CurrentUserTeamNames())`

:::Paragraph{indent="1"}
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.
:::

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

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