Title: User Role Switcher
Author: Dhanendran Rajagopal
Published: <strong>2020 年 2 月 25 日</strong>
Last modified: 2025 年 1 月 2 日

---

搜索插件

![](https://ps.w.org/wp-user-role-switcher/assets/banner-772x250.jpg?rev=2249688)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/wp-user-role-switcher/assets/icon-256x256.jpg?rev=2249714)

# User Role Switcher

 作者：[Dhanendran Rajagopal](https://profiles.wordpress.org/dhanendran/)

[下载](https://downloads.wordpress.org/plugin/wp-user-role-switcher.0.2.2.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-user-role-switcher/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-user-role-switcher/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/wp-user-role-switcher/#developers)

 [支持](https://wordpress.org/support/plugin/wp-user-role-switcher/)

## 描述

This plugin allows you to quickly swap between user roles in WordPress at the click
of a button. You’ll be instantly switched to the new user role. This is handy for
test environments where you regularly log out and in between different accounts,
or for administrators who need to switch between multiple accounts to test the feature
in different user roles.

### Features

 * Switch Role To: Instantly switch to any user role from the admin bar at top.
 * Switch back: Instantly switch back to your originating role.
 * Compatible with WordPress, WordPress Multisite, WooCommerce.

### Security

 * Only users with the ability to edit other users can switch user roles. By default
   this is only Administrators on single site installations, and Super Admins on
   Multisite installations.

### Usage

 1. Once plugin is activated, you will see _Switch Role To_ in the top admin bar.
 2. Clicking this will bring the list of user roles available in the system.
 3. Click on any user role you want to test as.
 4. You can switch back to your originating user role via the _Switch back_ link on
    the top admin bar.

## 评价

![](https://secure.gravatar.com/avatar/2acf7e162ff70e4cebef79dfafa97845a8deed68b7f01ed1069e2ba3369f524b?
s=60&d=retro&r=g)

### 󠀁[Great support!](https://wordpress.org/support/topic/great-support-3484/)󠁿

 [SiKth](https://profiles.wordpress.org/sikth/) 2021 年 4 月 2 日 1 回复

Was asking for a floating button to get back to the admin, got in in a couple of
days. Great plugin! Great support!

![](https://secure.gravatar.com/avatar/57e86f3d0d70e7ce3788a2820a96586ac4e5321a14eb5484a73cfefcc6a1e93d?
s=60&d=retro&r=g)

### 󠀁[Compatible 100% With WP 5.7](https://wordpress.org/support/topic/compatible-100-with-wp-5-7/)󠁿

 [c3media1](https://profiles.wordpress.org/c3media1/) 2021 年 3 月 14 日 1 回复

Great, i tested and it works non problem with Last Wordpress Version. Good job!

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/)

## 贡献者及开发者

「User Role Switcher」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Dhanendran Rajagopal ](https://profiles.wordpress.org/dhanendran/)

[帮助将「User Role Switcher」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-user-role-switcher)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-user-role-switcher/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-user-role-switcher/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-user-role-switcher/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-user-role-switcher/)。

## 更新日志

#### 0.2.0

 * [Improvements] Added floating action button when role is switched.

#### 0.1.0

 * Initial release

## 额外信息

 *  版本 **0.2.1**
 *  最后更新：**1 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.7 或更高版本 **
 *  已测试的最高版本为 **5.6.17**
 *  PHP 版本 ** 6.2.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-user-role-switcher/)
 * 标签
 * [admin role](https://cn.wordpress.org/plugins/tags/admin-role/)[profiles](https://cn.wordpress.org/plugins/tags/profiles/)
   [role](https://cn.wordpress.org/plugins/tags/role/)[users](https://cn.wordpress.org/plugins/tags/users/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-user-role-switcher/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-user-role-switcher/reviews/)

## 贡献者

 *   [ Dhanendran Rajagopal ](https://profiles.wordpress.org/dhanendran/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-user-role-switcher/)