If you would like to deactivate all users in a role, you can deactivate the role.
Step 1: Navigate to the role and click on the slider;
Step 2: Select Yes to confirm.
The role is disabled when the slider is scrolled to the left. It is also mentioned behind the role name with the text Role disabled.