Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Group getAllGroupResourceIdByUserResourceId: Difference between revisions

From Catglobe Wiki
Nguyentanphong (talk | contribs)
No edit summary
Nguyentanphong (talk | contribs)
No edit summary
Line 3: Line 3:
Get Resource ID of groups that user is a member. Empty will be returned If no group found  
Get Resource ID of groups that user is a member. Empty will be returned If no group found  


'''Syntax '''  
'''Syntax '''  


  Group_getAllGroupResourceIdByUserResourceId(User resource ID);  
   Group_getAllGroupResourceIdByUserResourceId(User resource ID);  


'''Arguments'''  
<br> '''Arguments'''  


  User resource ID: is a number.  
&nbsp;&nbsp; User resource ID: is a number.  


'''Return type'''  
'''Return type'''  


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


'''Examples'''  
<br> '''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>  
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]]
[[Category:Group_Functions]]

Revision as of 07:24, 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}