diff --git a/admin_manual/occ_command.rst b/admin_manual/occ_command.rst index baf0da7aa..2c945f9fc 100644 --- a/admin_manual/occ_command.rst +++ b/admin_manual/occ_command.rst @@ -1425,7 +1425,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 the stored private key - user:add ^^^^^^^^ @@ -1593,6 +1592,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. +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 @@ -1608,7 +1635,6 @@ groups, display a list of all users in a group:: group:removeuser remove a user from a group group:list list configured groups - You can create a new group with the ``group:add`` command. The syntax is:: group:add [gid]