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

CurrentUserRole

Returns the role associated with this session. For information about roles, see Working with Roles.

Syntax

CurrentUserRole()

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) No
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) No
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 Yes1
Client Expressions Yes
Object Permissions No
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 No
1. Except in services.

Parameters

none  

Return Value

Text value.

Example

$(CurrentUserRole())

If you are an administrator, the above example returns "Admin".


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other