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

Groups removeUsers: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
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,..."
 
Nguyenduyan (talk | contribs)
No edit summary
 
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 07: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);