User getUsersByGroupResourceId
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