Difference between revisions of "Group removeUsers"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "Category:Group_Functions {{HelpFiles}} ==== Group_removeUsers ==== Remove users to a group '''Syntax''' Group_addUser(''groupResourceId'', ''usersResourceId'') '''Ar...")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Group_Functions]]
 
 
{{HelpFiles}}
 
{{HelpFiles}}
  
 
==== Group_removeUsers ====
 
==== Group_removeUsers ====
  
Remove users to a group
+
Remove users from a group
  
 
'''Syntax'''
 
'''Syntax'''
  
Group_addUser(''groupResourceId'', ''usersResourceId'')
+
Group_removeUser(''groupResourceId'', ''usersResourceId'')
  
 
'''Arguments'''
 
'''Arguments'''
Line 26: Line 25:
 
Group_removeUsers(gRsId,uRsId);
 
Group_removeUsers(gRsId,uRsId);
 
</source>
 
</source>
 +
[[Category:Group_Functions]]

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