Difference between revisions of "Group addUsers"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Group_Functions]]
 
 
{{HelpFiles}}
 
{{HelpFiles}}
  
Line 8: Line 7:
 
'''Syntax'''
 
'''Syntax'''
  
Group_addUser(''groupResourceId'', ''usersResourceId'')
+
Group_addUsers(''groupResourceId'', ''usersResourceId'')
  
 
'''Arguments'''
 
'''Arguments'''

Revision as of 15:45, 9 December 2016


Group_addUsers

Add users to a group

Syntax

Group_addUsers(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_addUsers(gRsId,uRsId);