IsUserInPermissionList function
Syntax
IsUserInPermissionList(permissionlist1[, permissionlist2]. . .)
Description
Use the IsUserInPermissionList function to return a boolean value indicating whether the user is a member of any of the specified list of permission lists.
This function also returns true when an alias exists for a permission list and the user is a member of the permission list alias. See Security Administration: Using Role and Permission List Aliases.
Parameters
| Parameter | Description |
|---|---|
|
permissionlist1[, permissionlist2]. . . |
A comma-separated list of string values, each representing a permission list. |
Returns
Returns a boolean value: True if the current user has access to one or more of the permission lists, False otherwise.
Example
If IsUserInPermissionList("PTPT1300", "PTPT1600") Then