IsMemberOf Function
IsMemberOf (group as ObjectIdentifier, user as ObjectIdentifier) as Boolean
Category: | Logical |
Description: | Returns a TRUE value if the specified user is a member of the selected group or profile. Note that if you have a groups and/or profiles with the same name, a value of TRUE will be returned if the selected user is a member of any one of the matching records. |
Supported Context: | BusinessRules |
Parameters: | |
group as ObjectIdentifier(UserGroup, DiscussionGroup) | Represents a specific group or reference to a field that returns a group object |
user as ObjectIdentifier(User) | Represents a specific user or reference to a field that returns a user object |
Returned value as Boolean | Returns a boolean value, where "TRUE" indicates that the user specified in the "user" parameter is a member of the group specified in the "group" parameter |
Example #1 |
Build a workflow rule that will send an email to a resource once they are assigned to a task, assuming that resource is part of your group. IsMemberOf('US Marketing', CurrentUser()) |