Deactivate
and Delete
are two different functionalities.
When you Deactivate
the user remains in the database and only the status
is changed to deactivate. This is known as a soft-delete or logical-delete, i.e. the User deactivated will not be able to login, nor will he appear in any of the searches etc. But the advantage is that you can bring the User back to life by just Activate
-ing the User. So this does not require you to re-create the User and also helps in keeping history or actions on the User.
If you want to delete the User from database, go to Control Panel → Users & Organizations → click on Search All Users → Search for the user either by Advanced or Basic Search → select the User(s) → Click Deactivate.
After this, do an Advanced Search → Select the status as Inactive → You will find all the de-activated users → select them and click Delete.
Hope this helps.
Edit
(thanks to @hudolejev for pointing this out in the comments below)
Please also note that the following property is set to true
to delete users in portal-ext.properties
, by default it is true
:
#
# Set this to false if users cannot be deleted.
#
users.delete=true