Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Group areMemberOfGroup: Difference between revisions

From Catglobe Wiki
Created page with "Category:Group_Functions {{HelpFiles}} ===Group_areMemberOfGroup=== Check the list user resource id are members of the group. Which takes the array user resource i..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:


Check the list user resource id are members of the group.
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
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


Line 14: Line 15:


arrayUserRid: Array number resource id of users
arrayUserRid: Array number resource id of users
groupRid: Is a number resource id of the group
groupRid: Is a number resource id of the group



Latest revision as of 03:59, 9 April 2016



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}