UserRoleSwitcher

By Shaon Bahadur

10+ active installationsVersion 1.1

Allows admins to log in as non-admin users from the admin bar or the Users page.

Description

UserRoleSwitcher – Role Impersonation for WordPress

This plugin allows administrators to log in as any non-admin user directly from the admin bar or the Users page. It’s perfect for testing user permissions, troubleshooting issues, or seeing exactly what your users experience without needing to log out and switch accounts manually.

Feature:

  1. Log in as any non-admin user directly from the admin bar.
  2. Access user accounts from the Users page without logging out.
  3. Quickly test permissions and troubleshoot issues.
  4. Experience your site exactly as your users do.
  5. Safe and secure: only admins can switch accounts.

Installation

  1. You can install the plugin either by searching for “UserRoleSwitcher” in the WordPress Plugin Directory or by manually uploading the extracted plugin folder to your /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Screenshots

Changelog

1.0 – 29/08/2025

  • Initial Release

1.1 – 28/10/2026

  • Restricted the User Switcher search box and Switch button to administrators only.
  • Improved permission checks for impersonation features.
  • Added additional security validation for user search requests.