Difference between revisions of "Groups addUsers"
Nguyenduyan (talk | contribs) (Created page with "Category:Group_Functions {{HelpFiles}} = Groups_addUsers = Add many users into many groups at the same time == Syntax == Groups_addUsers (array groupsRId, array user...") |
Nguyenduyan (talk | contribs) (→Example) |
||
Line 22: | Line 22: | ||
<source lang="javascript"> | <source lang="javascript"> | ||
− | array groupsRId = {}; | + | array groupsRId = {15569952,15569686}; |
− | array usersRId = {}; | + | array usersRId = {15558770, 15558968, 15559047}; |
Groups_addUsers (groupsRId, usersRId); | Groups_addUsers (groupsRId, usersRId); | ||
</source> | </source> |
Latest revision as of 08:28, 24 July 2017
Groups_addUsers
Add many users into many groups at the same time
Syntax
Groups_addUsers (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_addUsers (groupsRId, usersRId);