File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -379,13 +379,20 @@ Create a new group::
379379group:adduser and group: removeuser
380380^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
381381
382- Add a user to a group::
382+ Add one or more existing users to the specified group with the ``group:adduser ``
383+ command. The syntax is::
383384
384- sudo -E -u www-data php occ group:adduser milliways layla
385+ group:adduser <gid> <uid1> [uid2 ... uidN]
385386
386- Remove a user from a group::
387+ This example adds the users "denis", "dora" and "daisy" to the existing group "milliways" ::
387388
388- sudo -E -u www-data php occ group:removeuser milliways layla
389+ sudo -E -u www-data php occ group:adduser milliways denis dora daisy
390+
391+ You can remove one or more users from the group with the ``group:removeuser `` command.
392+ This example removes the existing users "denis", "dora" and "daisy" from the existing
393+ group "milliways"::
394+
395+ sudo -E -u www-data php occ group:removeuser milliways denis dora daisy
389396
390397group:delete
391398^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments