Difference between revisions of "Groups removeUsers"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "Category:Group_Functions {{HelpFiles}} = Groups_removeUsers = Remove many users out of many groups at the same time == Syntax == Groups_removeUsers (array groupsRId,...")
 
 
Line 22: Line 22:
  
 
<source lang="javascript">
 
<source lang="javascript">
array groupsRId = {};
+
array groupsRId = {15569952,15569686};
array usersRId = {};
+
array usersRId = {15558770, 15558968, 15559047};
 
Groups_removeUsers (groupsRId, usersRId);
 
Groups_removeUsers (groupsRId, usersRId);
 
</source>
 
</source>

Latest revision as of 09:25, 24 July 2017



Groups_removeUsers

Remove many users out of many groups at the same time

Syntax

Groups_removeUsers (array groupsRId, array usersRId);

Arguments

groupsRId: array. List of group resource id

usersRId: array. List of user resource id

Return type

Empty

Example

array groupsRId = {15569952,15569686};
array usersRId = {15558770, 15558968, 15559047};
Groups_removeUsers (groupsRId, usersRId);