GetUsersFromRole
This function gets users with specified role
GetUserFromRole("role");Function arguments
Dział zatytułowany „Function arguments”- role – (String) The role of users. Allowed values: [ cc | contributor | reader | forbidden | hasAccess | canModify]
Return value
Dział zatytułowany „Return value”This function returns String. This function return users with specified role separated with comma.
Examples
Dział zatytułowany „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")