Group getAllGroupResourceIdByUserResourceId

From Catglobe Wiki
Revision as of 09:13, 8 November 2011 by Nguyentanphong (talk | contribs)
Jump to: navigation, search

Group_getAllGroupResourceIdByUserResourceId

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

Syntax 
   Group_getAllGroupResourceIdByUserResourceId(UserResourceID);


Arguments
   UserResourceID: is a number.

Return type
   An array, it is container type containing GroupResourceID.


Examples

array groupRID=Group_getAllGroupResourceIdByUserResourceId(37267087);
print(groupRID);                                                  // {37245971,37245974,37264371,37267083,37271315,37272473,37278189,37278394}
                                                                            // 37245971 - Navigation group ; 37245974 - Resource access group; 37267083,37271315,37272473,37278189,37278394 - normal group.