More actions
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 |
||
Line 1: | Line 1: | ||
{{HelpFiles}} | |||
===Group_areMemberOfGroup=== | === Group_areMemberOfGroup === | ||
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 | ||
===Syntax=== | === Syntax === | ||
Group_areMemberOfGroup(arrayUserRid,groupRid); | Group_areMemberOfGroup(arrayUserRid,groupRid); | ||
===Arguments=== | === Arguments === | ||
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 | ||
===Return type=== | === Return type === | ||
Dictionary | Dictionary | ||
===Examples=== | === Examples === | ||
<source lang="javascript"> | <source lang="javascript"> | ||
Group_areMemberOfGroup({3,4,55,56,6407},6397); | Group_areMemberOfGroup({3,4,55,56,6407},6397); | ||
//{"3": False, "4": False, "55": False, "56": False, "6407": True} | //{"3": False, "4": False, "55": False, "56": False, "6407": True} | ||
</source> | </source> __NOTOC__ | ||
__NOTOC__ |
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}