Difference between revisions of "Group getAllGroupResourceIdByUserResourceId"
(→Arguments) |
|||
Line 1: | Line 1: | ||
− | = Group_getAllGroupResourceIdByUserResourceId = | + | = Group_getAllGroupResourceIdByUserResourceId = |
− | Get | + | Get resource id of groups that user is member of. <br> |
− | <br> | + | |
+ | === Syntax === | ||
− | + | Group_getAllGroupResourceIdByUserResourceId(UserResourceID) <br> | |
− | + | === Arguments === | |
− | |||
− | + | UserResourceID: is a number. It is resource id of user. <br> | |
− | + | === Return type === | |
− | |||
− | + | An array, which contain the resource id of groups that user is member of. <br> | |
− | An array, which contain the resource id of groups that user is member of. | ||
− | <br> | ||
− | === Examples === | + | === Examples === |
− | array groupRID=Group_getAllGroupResourceIdByUserResourceId(37267087); <br>print(groupRID); // {37245971,37245974,37264371,37267083,37271315,37272473,37278189,37278394} <br> <br> | + | array groupRID=Group_getAllGroupResourceIdByUserResourceId(37267087); <br>print(groupRID); // {37245971,37245974,37264371,37267083,37271315,37272473,37278189,37278394} <br> <br> |
− | + | <br> | |
[[Category:Group_Functions]] | [[Category:Group_Functions]] | ||
+ | |||
+ | __NOTOC__ <br> |
Revision as of 10:28, 11 November 2011
Group_getAllGroupResourceIdByUserResourceId
Get resource id of groups that user is member of.
Syntax
Group_getAllGroupResourceIdByUserResourceId(UserResourceID)
Arguments
UserResourceID: is a number. It is resource id of user.
Return type
An array, which contain the resource id of groups that user is member of.
Examples
array groupRID=Group_getAllGroupResourceIdByUserResourceId(37267087);
print(groupRID); // {37245971,37245974,37264371,37267083,37271315,37272473,37278189,37278394}