Difference between revisions of "Group areMemberOfGroups"
(Created page with "= Group_areMemberOfGroups = To know whether the user bonging to these groups or not == Syntax == Group_areMemberOfGroups( array groupRIds, number userRId ); == Arguments =...") |
|||
Line 1: | Line 1: | ||
+ | [[Category:Group_Functions]] | ||
= Group_areMemberOfGroups = | = Group_areMemberOfGroups = | ||
To know whether the user bonging to these groups or not | To know whether the user bonging to these groups or not |
Latest revision as of 09:20, 6 May 2019
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}