From f4ea1f8998fd64bcd02280514b91f103f830d5ce Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 8 Jun 2022 09:09:42 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/user/admin_area/moderate_users.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'doc/user/admin_area/moderate_users.md') diff --git a/doc/user/admin_area/moderate_users.md b/doc/user/admin_area/moderate_users.md index 53c08d8cbc1..d2e68a8329c 100644 --- a/doc/user/admin_area/moderate_users.md +++ b/doc/user/admin_area/moderate_users.md @@ -246,3 +246,33 @@ A banned user can be unbanned using the Admin Area. To do this: The user's state is set to active and they consume a [seat](../../subscriptions/self_managed/index.md#billable-users). + +### Delete a user + +Use the Admin Area to delete users. + +1. On the top bar, select **Menu > Admin**. +1. On the left sidebar, select **Overview > Users**. +1. Select the **Banned** tab. +1. Optional. Select a user. +1. Select the **{settings}** **User administration** dropdown list. +1. Select **Delete user**. +1. Type the username. +1. Select **Delete user**. + +NOTE: +You can only delete a user if there are inherited or direct owners of a group. You cannot delete a user if they are the only group owner. + +You can also delete a user and their contributions, such as merge requests, issues, and groups of which they are the only group owner. + +1. On the top bar, select **Menu > Admin**. +1. On the left sidebar, select **Overview > Users**. +1. Select the **Banned** tab. +1. Optional. Select a user. +1. Select the **{settings}** **User administration** dropdown list. +1. Select **Delete user and contributions**. +1. Type the username. +1. Select **Delete user and contributions**. + +NOTE: +Before 15.1, additionally groups of which deleted user were the only owner among direct members were deleted. -- cgit v1.2.1