2 namespace wcf\system\bulk\processing\user;
3 use wcf\data\user\UserEditor;
6 * Bulk processing action implementation for assigning users to user groups.
8 * @author Matthias Schmidt
9 * @copyright 2001-2016 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package WoltLabSuite\Core\System\Bulk\Processing\User
14 class AssignToUserGroupsUserBulkProcessingAction extends AbstractUserGroupsUserBulkProcessingAction {
18 public $inputName = 'assignToUserGroupIDs';
23 protected function executeUserAction(UserEditor $user) {
24 $user->addToGroups($this->userGroupIDs, false, false);