Views:

Description

Returns true if the user is in the list of security roles otherwise false.

Signature

IsUserInSecurityRoles('userid', 'securityrole1', 'securityrole2')

Example

IsUserInSecurityRoles(WhoAmI(), 'System Administrator', 'Salesperson')

Returns true

Parameters

Name Type Description Required
userid xxxx xxxx xxxx
securityrole1 xxxx xxxx xxxx
securityrole2 xxxx xxxx xxxx