From 7efb27ab0dc8c851be15316b17400e8a500cc6ce Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 20 Nov 2019 18:13:41 +0100 Subject: [PATCH] LDAP: explain flags for show-remnants Signed-off-by: Arthur Schiwon --- admin_manual/configuration_user/user_auth_ldap_cleanup.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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.