group is an array which can be used multiple times

This commit is contained in:
Joas Schilling
2015-05-05 08:47:14 +02:00
parent 229c040207
commit 13344e4ed4

View File

@@ -338,13 +338,14 @@ login name. This example adds new user Layla Smith, and adds her to the
**users** and **db-admins** groups. Any groups that do not exist are created::
$ sudo -u www-data php occ user:add --display-name="Layla Smith"
--group="users db-admins" layla
--group="users" --group="db-admins" layla
Enter password:
Confirm password:
The user "layla" was created successfully
Display name set to "Layla Smith"
User "layla" added to group "users db-admins"
User "layla" added to group "users"
User "layla" added to group "db-admins"
Go to your Users page, and you will see your new user.
``password-from-env`` allows you to set the user's password from an environment
@@ -410,7 +411,7 @@ Upgrade Command
When you are performing an update or upgrade on your ownCloud server (see the
Maintenance section of this manual), it is better to use ``occ`` to perform the
database upgrade step, rather than the Web GUI, in order to avoid timeouts. PHP
database upgrade step, rather than the Web GUI, in order to avoid timeouts. PHP
scripts invoked from the Web interface are limited to 3600 seconds. In larger
environments this may not be enough, leaving the system in an inconsistent
state. After performing all the preliminary steps (see