Group isMemberOfGroup

From Catglobe Wiki
Jump to: navigation, search



Group_isMemberOfGroup

Check if a user belongs to a group

Syntax

Group_isMemberOfGroup(userResourceId, groupResourceId)

Arguments

  • userResourceId: is a number expression. It is the user's resource id
  • groupResourceId: is a number expression. It is the group's resource id

Return value

bool

Example

number userRid = 12345;

number groupRid = 5647;

bool b = Group_isMemberOfGroup(userRid , groupRid );

print(b); //return True

Availability

Version 5.6