This function checks if specified user is in specified group.


IsGroupMember("userLogin", "group");
IsGroupMember("userLogin", "group", true);

Function arguments

  • userLogin – (String) The login of the user for which group membership is to be checked.
  • groupName – (String) Name of the group
  • checkReplacement – (Boolean) [Optional] if true then check if specified user is replacement of user from group

Return value

This function returns Boolean.
Returns true if user is in group, otherwise false.


Example 1:
This will check if user 'jsimmons’ is in 'managers’ group and store return value in 'inGroup’ variable.

inGroup = IsGroupMember("jsimmons", "managers");

Example 2:
This will check if current user is in group indicated by '[Allowed group]’ case field and if true, close the case.

if(IsGroupMember(CurrentUser(), [Allowed group]) == false
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.