GetUsersFromRole
This function gets users with specified role
Syntax
GetUserFromRole("role");
Function arguments
- role – (String) The role of users. Allowed values: [ cc | contributor | reader | forbidden | hasAccess | canModify]
Return value
This function returns String.
This function return users with specified role separated with comma.
Examples
Example 1:
This will get all users with contributor role.
GetUsersFromRole("contributor")
Example 2:
This will get all users with read access to case.
GetUsersFromRole("hasAccess")
Example 3:
This will get all users with write access to case.
GetUsersFromRole("canModify")