Group areMemberOfGroups
Group_areMemberOfGroups
To know whether the user bonging to these groups or not
Syntax
Group_areMemberOfGroups( array groupRIds, number userRId );
Arguments
array groupRIds: array of group resource Id
number userRId: user resource Id
Return type
Dictionary
Example
array groupRIds = {15645255, 6397};
number userRId = 10768810;
Group_areMemberOfGroups(groupRIds, userRId);//{"15645255": False, "6397": True}