/**
  * Unlock accounts
  * @return bool
  */
 protected function lockUsers()
 {
     $this->tabs_gui->setTabActive('participants');
     $participants_to_unlock = (array) array_unique(array_merge((array) $_POST['admins'], (array) $_POST['members']));
     if (!count($participants_to_unlock)) {
         ilUtil::sendFailure($this->lng->txt('no_checkbox'));
         $this->participants();
         return false;
     }
     foreach ($participants_to_unlock as $part) {
         $unlock = new ilViteroLockedUser();
         $unlock->setUserId($part);
         $unlock->setVGroupId($this->object->getVGroupId());
         $unlock->setLocked(true);
         $unlock->update();
     }
     $grp = new ilViteroGroupSoapConnector();
     $grp->updateEnabledStatusForUsers($participants_to_unlock, $this->object->getVGroupId(), false);
     ilUtil::sendSuccess($GLOBALS['lng']->txt('settings_saved'), true);
     $GLOBALS['ilCtrl']->redirect($this, 'participants');
 }