From 069104cd231c8d2ccceadfcc80554d191bed9919 Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 13 Jun 2023 15:48:40 +0200 Subject: [PATCH] Add file 'README.delete-user'. --- README.delete-user | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.delete-user diff --git a/README.delete-user b/README.delete-user new file mode 100644 index 0000000..f47f5ee --- /dev/null +++ b/README.delete-user @@ -0,0 +1,26 @@ +# --- +# Delete User +# --- + +# see: https://docs.mattermost.com/manage/command-line-tools.html#mattermost-user-delete + + +# There are two levels in user deactivation/deletion: +# +# The first one is user deactivation which is what you performed. After deactivating a user, +# that user becomes archived and you can still search him/her and read their messages in +# channels. +# +# The second is user deletion. You can do this via a CLI command. Note that when you permanently +# delete a user, all their posts and past activities will get permanently deleted. + + +# Permanently delete a user and all related information, including posts from the database. +# +# mattermost user delete +# +# Note: +# Does not delete content from the file storage. You can manually delete all file uploads +# for a given user as uploads contain the CreatorId field. User profile pictures are stored +# in data/users//profile.png. +