How to temporary disable a user?

When you say disable, what you want to do? Restrict his backend access? If so, the simplest way would be to change his role to “Subscriber”. That will leave him with access only to his profile page.

  • This reply was modified 20 hours, 15 minutes ago by Samuel O.. Reason: added more details

The best way to “disable” a user is to assign them the role labeled “No role for this site”. You will find it in the list of roles after Administrator.


Thank you very much for your solution. That works perfectly.

Source link