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

NameTypeDescriptionRequired
useridxxxxxxxxxxxx
securityrole1xxxxxxxxxxxx
securityrole2xxxxxxxxxxxx

Notes: