Service Manager

Home 

This is the latest version of the help for Ivanti Service Manager 2018. If you cannot find some of the features described in the help, you may be using an older version of the application. To upgrade the application, click here.
To view the help for the latest version of Service Manager, click here

CurrentUserTeamNames

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.

Syntax

CurrentUserTeamNames()

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 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.
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())

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.

CurrentUserTeamNames() Example


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other