Difference between revisions of "Group getAllGroupResourceIdByUserResourceId"

From Catglobe Wiki
Jump to: navigation, search
Line 5: Line 5:
 
'''Syntax&nbsp;<br>''' &nbsp;&nbsp; Group_getAllGroupResourceIdByUserResourceId(User resource ID);  
 
'''Syntax&nbsp;<br>''' &nbsp;&nbsp; Group_getAllGroupResourceIdByUserResourceId(User resource ID);  
  
<br> '''Arguments<br>'''  
+
<br> '''Arguments<br>''' &nbsp;&nbsp; User resource ID: is a number.  
&nbsp;&nbsp; User resource ID: is a number.  
 
  
'''Return type<br>'''  
+
'''Return type<br>''' &nbsp;&nbsp; An array, it is container type containing Group Resource ID.  
An array, it is container type containing Group Resource ID.  
 
  
 
<br> '''Examples'''  
 
<br> '''Examples'''  

Revision as of 09:26, 10 October 2011

Group_getAllGroupResourceIdByUserResourceId

Get Resource ID of groups that user is a member. Empty will be returned If no group found

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}