mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 18:56:02 +07:00
feat(admin_manual): document user:info occ command
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
committed by
backportbot[bot]
parent
403ca777f1
commit
e7f2abbdb2
@@ -1423,7 +1423,6 @@ report showing how many users you have, and when a user was last logged in::
|
|||||||
user:keys:verify Verify that the stored public key matches
|
user:keys:verify Verify that the stored public key matches
|
||||||
the stored private key
|
the stored private key
|
||||||
|
|
||||||
|
|
||||||
user:add
|
user:add
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
@@ -1591,6 +1590,34 @@ user:list
|
|||||||
|
|
||||||
You can use the command ``user:list`` to list users. By default it will limit the output to 500 users but you can override that with options ``--limit`` and ``--offset``. Use ``--disabled`` to only list disabled users.
|
You can use the command ``user:list`` to list users. By default it will limit the output to 500 users but you can override that with options ``--limit`` and ``--offset``. Use ``--disabled`` to only list disabled users.
|
||||||
|
|
||||||
|
user:info
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
With the ``user:info`` command, you can access an account information such as: user id, display name, quota, groups, storage usage... and many more
|
||||||
|
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
|
user:info admin
|
||||||
|
- user_id: admin
|
||||||
|
- display_name: admin
|
||||||
|
- email: admin@domain.com
|
||||||
|
- cloud_id: admin@cloud.domain.com
|
||||||
|
- enabled: true
|
||||||
|
- groups:
|
||||||
|
- admin
|
||||||
|
- users
|
||||||
|
- quota: none
|
||||||
|
- storage:
|
||||||
|
- free: 162409623552
|
||||||
|
- used: 1110
|
||||||
|
- total: 162409624662
|
||||||
|
- relative: 0
|
||||||
|
- quota: -3
|
||||||
|
- first_seen: 2025-03-14T08:44:46+00:00
|
||||||
|
- last_seen: 2025-03-25T20:21:13+00:00
|
||||||
|
- user_directory: /var/www/nextcloud/data/admin
|
||||||
|
- backend: Database
|
||||||
|
|
||||||
.. _group_commands_label:
|
.. _group_commands_label:
|
||||||
|
|
||||||
Group commands
|
Group commands
|
||||||
@@ -1606,7 +1633,6 @@ groups, display a list of all users in a group::
|
|||||||
group:removeuser remove a user from a group
|
group:removeuser remove a user from a group
|
||||||
group:list list configured groups
|
group:list list configured groups
|
||||||
|
|
||||||
|
|
||||||
You can create a new group with the ``group:add`` command. The syntax is::
|
You can create a new group with the ``group:add`` command. The syntax is::
|
||||||
|
|
||||||
group:add [gid]
|
group:add [gid]
|
||||||
|
|||||||
Reference in New Issue
Block a user