Skip to content

Commit 2dce467

Browse files
authored
Merge pull request #12937 from nextcloud/backport/12936/stable29
[stable29] feat(admin_manual): document `user:info` occ command
2 parents 328c544 + 07f337f commit 2dce467

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

admin_manual/configuration_server/occ_command.rst

+28-1
Original file line numberDiff line numberDiff line change
@@ -1516,6 +1516,34 @@ There might be a discrepancy between the total number of users compared to the n
15161516
Users that have never logged in before are not counted as active or disabled users.
15171517
Some user backends also do not allow a count for the number of users.
15181518

1519+
user:info
1520+
^^^^^^^^^
1521+
1522+
With the ``user:info`` command, you can access an account information such as: user id, display name, quota, groups, storage usage... and many more
1523+
1524+
.. code-block::
1525+
1526+
user:info admin
1527+
- user_id: admin
1528+
- display_name: admin
1529+
1530+
- cloud_id: [email protected]
1531+
- enabled: true
1532+
- groups:
1533+
- admin
1534+
- users
1535+
- quota: none
1536+
- storage:
1537+
- free: 162409623552
1538+
- used: 1110
1539+
- total: 162409624662
1540+
- relative: 0
1541+
- quota: -3
1542+
- first_seen: 2025-03-14T08:44:46+00:00
1543+
- last_seen: 2025-03-25T20:21:13+00:00
1544+
- user_directory: /var/www/nextcloud/data/admin
1545+
- backend: Database
1546+
15191547
.. _group_commands_label:
15201548

15211549
Group commands
@@ -1531,7 +1559,6 @@ groups, display a list of all users in a group::
15311559
group:removeuser remove a user from a group
15321560
group:list list configured groups
15331561

1534-
15351562
You can create a new group with the ``group:add`` command. The syntax is::
15361563

15371564
group:add [gid]

0 commit comments

Comments
 (0)