Skip to content

Commit e4774f5

Browse files
authored
Merge pull request #12938 from nextcloud/backport/12936/stable30
[stable30] feat(admin_manual): document `user:info` occ command
2 parents b2432bf + 7355dde commit e4774f5

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
@@ -1538,6 +1538,34 @@ There might be a discrepancy between the total number of users compared to the n
15381538
Users that have never logged in before are not counted as active or disabled users.
15391539
Some user backends also do not allow a count for the number of users.
15401540

1541+
user:info
1542+
^^^^^^^^^
1543+
1544+
With the ``user:info`` command, you can access an account information such as: user id, display name, quota, groups, storage usage... and many more
1545+
1546+
.. code-block::
1547+
1548+
user:info admin
1549+
- user_id: admin
1550+
- display_name: admin
1551+
1552+
- cloud_id: [email protected]
1553+
- enabled: true
1554+
- groups:
1555+
- admin
1556+
- users
1557+
- quota: none
1558+
- storage:
1559+
- free: 162409623552
1560+
- used: 1110
1561+
- total: 162409624662
1562+
- relative: 0
1563+
- quota: -3
1564+
- first_seen: 2025-03-14T08:44:46+00:00
1565+
- last_seen: 2025-03-25T20:21:13+00:00
1566+
- user_directory: /var/www/nextcloud/data/admin
1567+
- backend: Database
1568+
15411569
.. _group_commands_label:
15421570

15431571
Group commands
@@ -1553,7 +1581,6 @@ groups, display a list of all users in a group::
15531581
group:removeuser remove a user from a group
15541582
group:list list configured groups
15551583

1556-
15571584
You can create a new group with the ``group:add`` command. The syntax is::
15581585

15591586
group:add [gid]

0 commit comments

Comments
 (0)