Lines Matching refs:group
43 // add to group
44 $options->registerCommand('addtogroup', 'Add user to group(s)');
46 $options->registerArgument('group', 'Group(s), comma-seperated', true, 'addtogroup');
48 // remove from group
49 $options->registerCommand('removefromgroup', 'Remove user from group(s)');
51 $options->registerArgument('group', 'Group(s), comma-separated', true, 'removefromgroup');
216 * Adds an user to group(s)
233 foreach ($newgrps as $group) {
234 if (!in_array($group, $oldinfo['grps'])) {
235 $changes['grps'][] = $group;
254 * Removes an user from group(s)
271 foreach ($grps as $group) {
272 if (($pos = array_search($group, $changes['grps'])) == !false) {