Difference between revisions of "Group removeUsers"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor-switched)
Line 25: Line 25:
 
Group_removeUsers(gRsId,uRsId);
 
Group_removeUsers(gRsId,uRsId);
 
</source>
 
</source>
 +
[[Category:Group_Functions]]

Revision as of 03:45, 30 May 2017


Group_removeUsers

Remove users from a group

Syntax

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