LDAP: explain flags for show-remnants

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2019-11-20 18:13:41 +01:00
parent b39c6e0783
commit 7efb27ab0d
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23

View File

@ -59,6 +59,13 @@ This example shows what the table of users marked as ``deleted`` looks like::
| aaliyah_kunze | aaliyah kunze | aaliyah_kunze | uid=aaliyah_kunze,ou=people,dc=com |
+-----------------+-----------------+------------------+--------------------------------------+
Following flags can be specified additionally:
*--short-date*: formats the dates for ``Last login`` and ``Detected on`` in a short Y-m-d format (e.g. 2019-01-14)
*--json--*: instead of a table, the output is json-encoded. This makes it easy to process the data programmatically.
Then you can run ``sudo -u www-data php occ user:delete aaliyah_brown`` to delete
user aaliyah_brown. You must use the user's Nextcloud name.