Groups addUsers

From Catglobe Wiki
Jump to: navigation, search



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