Group isMemberOfGroup

From Catglobe Wiki
Revision as of 04:57, 27 December 2011 by Cg huyphong (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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