Difference between revisions of "Group getAllGroupResourceIdByUserResourceId"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{Function_Template|Name=Group_getAllGroupResourceIdByUserResourceId|ReturnType=Array |Parameters= |Name=<nowiki>User resource id</nowiki>|ConstantType=Number }}")
 
Line 1: Line 1:
{{Function_Template|Name=Group_getAllGroupResourceIdByUserResourceId|ReturnType=Array
+
'''Group_getAllGroupResourceIdByUserResourceId'''
|Parameters=
+
 
|Name=<nowiki>User resource id</nowiki>|ConstantType=Number
+
Get Resource ID of groups that user is a member.
}}
+
 
 +
'''Syntax '''
 +
 
 +
  Group_getAllGroupResourceIdByUserResourceId(User resource ID);
 +
 
 +
'''Arguments'''
 +
 
 +
  User resource ID: is a number.
 +
 
 +
'''Return type'''
 +
 
 +
  An array, it is container type containing Group Resource ID.
 +
 
 +
'''Examples'''
 +
 
 +
array groupRID=Group_getAllGroupResourceIdByUserResourceId(37267087); <br>print(groupRID);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // {37264371,37267083,37271315,37278189} <br>  
 +
 
 +
[[Category:Group_Functions]]

Revision as of 08:01, 5 October 2011

Group_getAllGroupResourceIdByUserResourceId

Get Resource ID of groups that user is a member.

Syntax

  Group_getAllGroupResourceIdByUserResourceId(User resource ID); 

Arguments

  User resource ID: is a number. 

Return type

  An array, it is container type containing Group Resource ID. 

Examples

array groupRID=Group_getAllGroupResourceIdByUserResourceId(37267087);
print(groupRID);                                                  // {37264371,37267083,37271315,37278189}