Difference between revisions of "Group isMemberOfGroup"

From Catglobe Wiki
Jump to: navigation, search
 
Line 21: Line 21:
 
'''Example'''
 
'''Example'''
  
bool b = Group_isMemberOfGroup(12345, 5647);
+
''number userRid = 12345;''
 +
 
 +
''number groupRid = 5647;''
 +
 
 +
''bool b = Group_isMemberOfGroup(userRid , groupRid );
 +
 
 +
''print(b);'' //return True
  
 
'''Availability'''
 
'''Availability'''

Latest revision as of 04:57, 27 December 2011



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