Difference between revisions of "Group areMemberOfGroup"

From Catglobe Wiki
Jump to: navigation, search
(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...")
 
 
(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 04: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}