Skip to content

[stable30] feat(admin_manual): document user:info occ command #12938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion admin_manual/configuration_server/occ_command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1538,6 +1538,34 @@ There might be a discrepancy between the total number of users compared to the n
Users that have never logged in before are not counted as active or disabled users.
Some user backends also do not allow a count for the number of 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: [email protected]
- cloud_id: [email protected]
- 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
Expand All @@ -1553,7 +1581,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]
Expand Down