Difference between revisions of "Group removeUsers"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor-switched)
 
Line 7: Line 7:
 
'''Syntax'''
 
'''Syntax'''
  
Group_addUser(''groupResourceId'', ''usersResourceId'')
+
Group_removeUser(''groupResourceId'', ''usersResourceId'')
  
 
'''Arguments'''
 
'''Arguments'''

Latest revision as of 10:54, 28 November 2018


Group_removeUsers

Remove users from a group

Syntax

Group_removeUser(groupResourceId, usersResourceId)

Arguments

  • groupResourecId: is a number expression. It is the group's resource id.
  • usersResourceId: is a array which contains User resource Ids

Return value

empty

Examples

number gRsId = 15544389;
array uRsId = {15498958,15507494,15517129};
Group_removeUsers(gRsId,uRsId);