diff --git a/admin_manual/configuration_user/user_auth_ldap_cleanup.rst b/admin_manual/configuration_user/user_auth_ldap_cleanup.rst index af2ce07ab..cb1e05345 100644 --- a/admin_manual/configuration_user/user_auth_ldap_cleanup.rst +++ b/admin_manual/configuration_user/user_auth_ldap_cleanup.rst @@ -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.