WordPress

How to List Administrator Users in WordPress

WordPress allows multiple users with different roles, including Administrators who have full control over the website. If you need to list all Administrator users on your WordPress site, you can do so through the dashboard or using WP-CLI.

Method 1: Using the WordPress Dashboard (Easiest)

  1. Log in to your WordPress Dashboard.
  2. Navigate to Users > All Users.
  3. In the Role dropdown filter, select Administrator.
  4. Click the Filter button to display all users with Administrator privileges.

Method 2: Using WP-CLI

For advanced users with SSH access, WP-CLI provides a quick way to list Administrators

  1. Access your Ecenica WordPress hosting service via SSH or using Terminal
  2. Navigate to the directory your WordPress install is in. Usually, public_html
  3. Run the following command:
    wp user list --role=administrator
    

This will output a list of Administrator users along with their user IDs and emails.

Security Considerations

  • Always ensure that only trusted individuals have Administrator roles.
  • If you notice unauthorized Administrators, remove them immediately and update passwords.
  • Consider using a security plugin to monitor user activity and role changes.

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London