There may come a time when you need to block an account from having access to your site. In an ideal world, we would neer have to discipline site members, but it does happen. Also, you may want to disable accounts for anyone on vacation to further secure the account and site. Whatever your reason, blocking a user account in Drupal 7 is very easy to do. To learn how, simply follow these steps:

  1. Log into your Drupal 7 admin dashboard.
  2. From the top menu bar, locate the People option and click it.
    people
  3. From the People screen, find the user you want to block and click the Edit link for that user.
    edit-user
  4. This new page is where you find all the individual settings for your chosen user. Find the Status area and click the radio button named Blocked. This sets the user to an inactive status, and therefore unable to log in once the settings are saved.
    block-user
  5. Once selected, scroll to the bottom of the page and select the Save button. This takes you back to the user list where you will see that your chosen user now has a Status of Blocked. To reactivate the user, simply follow the same steps, selecting Active as the status on the user's settings page.
    block-user-after
Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Scott Mitchell, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!