Implemented Bulk remove users from secondary usergroups

Akela

Active member
The only work around I could think of was to delete the usergroup in question (thus removing all the users from it) and then recreate it.
 

ceribik

Well-known member
The only work around I could think of was to delete the usergroup in question (thus removing all the users from it) and then recreate it.
Try looking into the removeUserGroupFromUsers($userGroupId, $primaryReplacementId) function in Model/UserGroup.php
 
Top