The ultimate User switcher and Role manager
This plugin will add a menu item to your admin bar where you can change your view in the WordPress admin.
Switch to other users without the need to login as that user or even switch roles and temporarily change your own capabilities.
When you’re viewing as a different user, you can also change this user’s preferences; like screen settings on various admin pages.
With the “Role defaults” module you can set default screen settings and metabox locations for roles and apply them to users through various bulk actions.
It also features a “Role manager” module to add, edit or remove roles and grant or deny them capabilities.
Overview / Features
- Switch between user accounts
- Edit this user’s screen preferences and settings
- Switch between roles
- Temporarily change your own capabilities (non-destructively)
- View your site as an unregistered visitor
- Switch language/locale on backend and frontend
- Make combinations of the above view types
- Easily switch back anytime
- Completely secure (see Security below)
- Do all the above without logging out!
Module: Role defaults (screen settings)
- Set default screen settings for roles
- Apply defaults to a user
- Apply defaults to all users of a role
- Apply defaults when registering a new user (in a multisite this is done when a user is added to its first blog)
- Copy defaults from one role to another (or multiple)
- Import/Export role defaults, can also download (and upload) setting files
- Disable the “screen settings” option and/or lock the meta boxes for all users that don’t have access to this plugin
Module: Role manager (role editor)
Note: Changes made with the Role Manager are permanent!
- Add, edit or delete roles
- Grant and/or add capabilities to roles
- Rename roles
- Clone roles
- Import/Export roles, can also download (and upload) setting files
- Update role capabilities from current view
- Automatically migrate users to another role after deleting a role
Compatibility & Integrations
This plugin will work with most other plugins but these are tested:
- Advanced Access Manager (Pro version not verified)
- Genesis Framework (and probably other theme frameworks)
- Google Site Kit
- Gravity Forms
- Groups 2.1+ (Custom integration: adds a view type for groups. Pro version not tested)
- Pods Framework 2.0+
- Restrict User Access 0.13+ (Custom integration: adds a view type for access levels)
- User Roles and Capabilities
- User Role Editor (Pro version not verified)
- User Switching (Not sure why you’d want this but yes, switch-ception is possible!)
- WPFront User Role Editor
- WP Admin UI Customize 1.5.11+
- Yoast SEO
Full list of tested plugins and details: Compatibility & Integrations
I can’t switch back!
See item 3 at FAQ.
It’s not working! / I found a bug!
Please let me know through the support and add a plugins and themes list! 🙂
This plugin is completely safe and will keep your users, passwords and data secure.
For more info see item 7 at FAQ!
This plugin will only be useful for admins (network super admins or regular admins). It will not add functionalities for other roles unless you specifically apply custom capabilities for those users.
Also keep in mind that switching to users that have equal roles is disabled. (regular admins to regular admins + super admins to super admins)
I’ve created this at first for myself since I’m a developer and often need to see the outcome on roles which my clients use.
So, when you are developing a plugin or theme that does anything with roles or capabilities you can use this plugin to easily check if everything works.
No more hassle of creating test users and constantly logging out and in anymore!
This plugin is also useful to support your clients and/or users. For example; make screen display presets of the edit and overview pages before you let them log in.
You can find me here:
Please help translating this plugin on translate.wordpress.org!
Actions & Filters
Please let me know on GitHub!
Installation of this plugin works like any other plugin out there. Either:
- Upload and unpack the zip file to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
Or search for “View Admin As” via your plugins menu.
- WordPress 4.1 or greater (Though I always recommend to update to the latest version!)
Install as a must-use plugin
view-admin-as.php file into the root of your mu-plugins directory, not in the
This is a limitation of WordPress and probably won’t change soon.
All files dir:
Main file dir: