Skip to content

Commit e7f2abb

Browse files
skjnldsvbackportbot[bot]
authored andcommitted
feat(admin_manual): document user:info occ command
Signed-off-by: skjnldsv <[email protected]>
1 parent 403ca77 commit e7f2abb

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

admin_manual/occ_command.rst

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,6 @@ report showing how many users you have, and when a user was last logged in::
14231423
user:keys:verify Verify that the stored public key matches
14241424
the stored private key
14251425

1426-
14271426
user:add
14281427
^^^^^^^^
14291428

@@ -1591,6 +1590,34 @@ user:list
15911590

15921591
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.
15931592

1593+
user:info
1594+
^^^^^^^^^
1595+
1596+
With the ``user:info`` command, you can access an account information such as: user id, display name, quota, groups, storage usage... and many more
1597+
1598+
.. code-block::
1599+
1600+
user:info admin
1601+
- user_id: admin
1602+
- display_name: admin
1603+
1604+
- cloud_id: [email protected]
1605+
- enabled: true
1606+
- groups:
1607+
- admin
1608+
- users
1609+
- quota: none
1610+
- storage:
1611+
- free: 162409623552
1612+
- used: 1110
1613+
- total: 162409624662
1614+
- relative: 0
1615+
- quota: -3
1616+
- first_seen: 2025-03-14T08:44:46+00:00
1617+
- last_seen: 2025-03-25T20:21:13+00:00
1618+
- user_directory: /var/www/nextcloud/data/admin
1619+
- backend: Database
1620+
15941621
.. _group_commands_label:
15951622

15961623
Group commands
@@ -1606,7 +1633,6 @@ groups, display a list of all users in a group::
16061633
group:removeuser remove a user from a group
16071634
group:list list configured groups
16081635

1609-
16101636
You can create a new group with the ``group:add`` command. The syntax is::
16111637

16121638
group:add [gid]

0 commit comments

Comments
 (0)