Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Group addUsers: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 7: Line 7:
'''Syntax'''
'''Syntax'''


Group_addUser(''groupResourceId'', ''usersResourceId'')
Group_addUsers(''groupResourceId'', ''usersResourceId'')


'''Arguments'''
'''Arguments'''


*''groupResourecId'': is a ''number ''expression. It is the group's resource id, which can be found in user resource list
*''groupResourecId'': is a ''number ''expression. It is the group's resource id
*''usersResourceId'': is a ''array ''which contains User resource Ids
*''usersResourceId'': is a ''array ''which contains User resource Ids


Line 25: Line 25:
Group_addUsers(gRsId,uRsId);
Group_addUsers(gRsId,uRsId);
</source>
</source>
[[Category:Group_Functions]]

Latest revision as of 08:20, 12 January 2017


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);