Group areMemberOfGroup

From Catglobe Wiki
Jump to: navigation, search



Group_areMemberOfGroup

Check the list user resource id are members of the group.

Which takes the array user resource id and group resource id and returns dictionary of id and true/false. True if member, false if not

Syntax

Group_areMemberOfGroup(arrayUserRid,groupRid);

Arguments

arrayUserRid: Array number resource id of users

groupRid: Is a number resource id of the group

Return type

Dictionary

Examples

Group_areMemberOfGroup({3,4,55,56,6407},6397);
//{"3": False, "4": False, "55": False, "56": False, "6407": True}