Title: 2nd user role
Last modified: August 30, 2016

---

# 2nd user role

 *  Resolved [befla.net](https://wordpress.org/support/users/beflanet/)
 * (@beflanet)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/2nd-user-role/)
 * Hi,
    on Multisite an administrator can switch in the backend but not in the frontend.
   In the admin bar there isn´t the option to switch. Is it posible to give an editor
   the rights at the admin bar to switch? Thanks for answer.
 * [https://wordpress.org/plugins/admin-bar-user-switching/](https://wordpress.org/plugins/admin-bar-user-switching/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Mark Wilkinson](https://wordpress.org/support/users/wpmarkuk/)
 * (@wpmarkuk)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/2nd-user-role/#post-6256810)
 * The switch to link in the admin bar only shows for users that have the `edit_users`
   capability. In a single site installation this is administrators, whereas in 
   a multisite install it is super admins.
 * Therefore a site administrator of a site within the network that is not a super
   admin will not see this link.
 * It is not possible to give editors the rights to switch. The reason for this 
   is that they could then switch to an admin user to “bump” their own capabilities.
 *  Thread Starter [befla.net](https://wordpress.org/support/users/beflanet/)
 * (@beflanet)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/2nd-user-role/#post-6256811)
 * Well, but how can i make it visible for administrators in a multisite?
 *  [Mark Wilkinson](https://wordpress.org/support/users/wpmarkuk/)
 * (@wpmarkuk)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/2nd-user-role/#post-6256813)
 * You can use the `abus_switch_to_capability` filter. An example is below:
 *     ```
       <?php
       add_filter(
       	'abus_switch_to_capability',
       	function() {
       		return 'switch_themes';
       	}
       );
       ?>
       ```
   
 * Adding this to your themes functions.php file or a plugin should work although
   I have not tested it.
 *  Thread Starter [befla.net](https://wordpress.org/support/users/beflanet/)
 * (@beflanet)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/2nd-user-role/#post-6256814)
 * perfect. Thank you very, very much. It works.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘2nd user role’ is closed to new replies.

 * ![](https://ps.w.org/admin-bar-user-switching/assets/icon-128x128.png?rev=1419846)
 * [Admin Bar User Switching](https://wordpress.org/plugins/admin-bar-user-switching/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/admin-bar-user-switching/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/admin-bar-user-switching/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-bar-user-switching/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-bar-user-switching/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-bar-user-switching/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [befla.net](https://wordpress.org/support/users/beflanet/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/2nd-user-role/#post-6256814)
 * Status: resolved