CurrentUserIdentityType
Returns the identity type (such as employee, external contact, and so on) of the user associated with the current session. Use this function if you have business rules that are associated with a certain identity type. See About HEAT Users for information about user types.
The identity type comes from the subtype of the user object. Every user is represented by an instance of a business object that implements the identity contract. The name of the identity contract is the identity type. By default, the business objects that implement the identity contract are employee and external contact, although your tenant may have others, such as partner.
Syntax
CurrentUserIdentityType()
Enabled for
Search/Dashboard | Yes |
Business Rules | Yes |
Quick Actions | Yes |
Workflow Objects | Yes |
Reports | No |
Parameters
none |
Return Value
Text value.
Example
$(CurrentUserIdentityType())
The example above returns "Employee."