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.

User getUsersByGroupResourceId

From Catglobe Wiki


User_getUsersByGroupResourceId

Get users by group Resource Id

Syntax

User_getUsersByGroupResourceId (number groupRId)

Arguments

groupRId: is a numeric (non-decimal) expression. It is the ResourceId of group

Return type

array of user array

Example

number groupRId=11303273;
array users = User_getUsersByGroupResourceId (groupRId);
array userRId;

for (number i=0;i<users.Count; i++)
{
 userRId.Add(users[i][USER_RESOURCE_ID]);
}
print(userRId);//result {3053527,15133581,15145657,15351925,15357656,15368246,11303274}

Availability

Version 6.0