Title: Icegram User Switching – Switch User Accounts Instantly, Login as User &amp; Test Roles for WordPress &amp; WooCommerce
Author: Icegram
Published: <strong>May 15, 2025</strong>
Last modified: October 27, 2026

---

Search plugins

![](https://ps.w.org/switch-user-login-by-icegram/assets/banner-772x250.png?rev=
3323998)

![](https://ps.w.org/switch-user-login-by-icegram/assets/icon-256x256.png?rev=3330008)

# Icegram User Switching – Switch User Accounts Instantly, Login as User & Test Roles for WordPress & WooCommerce

 By [Icegram](https://profiles.wordpress.org/icegram/)

[Download](https://downloads.wordpress.org/plugin/switch-user-login-by-icegram.1.0.1.zip)

 * [Details](https://wordpress.org/plugins/switch-user-login-by-icegram/#description)
 * [Reviews](https://wordpress.org/plugins/switch-user-login-by-icegram/#reviews)
 *  [Installation](https://wordpress.org/plugins/switch-user-login-by-icegram/#installation)
 * [Development](https://wordpress.org/plugins/switch-user-login-by-icegram/#developers)

 [Support](https://wordpress.org/support/plugin/switch-user-login-by-icegram/)

## Description

**Switch between WordPress user accounts with a single click — test roles, preview
WooCommerce customer journeys, and troubleshoot user-specific issues without ever
asking for or resetting a password.**

**Icegram User Switching** (also documented as [Switch User Login by Icegram](https://www.icegram.com/docs/switch-user/getting-started/?utm_source=wpreadme&utm_campaign=icegram_user_switching_repo))
by [Icegram](https://www.icegram.com/docs/switch-user/getting-started/?utm_source=wpreadme&utm_campaign=icegram_user_switching_repo)
is a fast, secure, and zero-configuration WordPress user switching plugin built 
for administrators, WooCommerce store owners, agencies, and customer support teams.

Stop juggling multiple incognito windows, resetting customer passwords, or getting
locked out by two-factor authentication (2FA) prompts during testing. Hover over
any user in **Users > All Users**, click **Switch To**, and view your site through
their exact eyes. When you are done, click **Switch back** from the admin bar or
frontend footer to return to your administrator session immediately.

 * **Getting Started Guide:** [How to Switch Between User Accounts in WordPress](https://www.icegram.com/docs/switch-user/getting-started/?utm_source=wpreadme&utm_campaign=icegram_user_switching_repo)
 * **Security Architecture:** [Security, Roles & How User Switching Works](https://www.icegram.com/docs/switch-user/getting-started/?utm_source=wpreadme&utm_campaign=icegram_user_switching_repo)
 * **Use Cases & Troubleshooting:** [User Switching Use Cases, FAQ & Troubleshooting](https://www.icegram.com/docs/switch-user/getting-started/?utm_source=wpreadme&utm_campaign=icegram_user_switching_repo)

#### Why Choose Icegram User Switching?

Many “Login as User” or “Login as Customer” plugins lock WooCommerce customer switching
behind paid Pro upgrades or limit free users to viewing only the first 10 accounts.
Icegram User Switching gives you a complete, unthrottled account-switching toolkit**
100% free forever**:

 * **1-Click Instant User Switching:** Switch into any eligible user account from**
   Users > All Users** or directly from the **Edit User Profile** screen — no username,
   password, or 2FA code required.
 * **4 Convenient 1-Click Switch-Back Locations:** Return to your originating administrator
   account anytime from the **WordPress Admin Toolbar**, the **Persistent Admin 
   Notice**, the **Frontend Page Footer**, or the **WordPress Meta Widget**.
 * **100% Free for WooCommerce & Memberships:** Test WooCommerce customer carts,
   checkout flows, order history pages, and membership tiers without paying for 
   a “Pro” WooCommerce add-on.
 * **Zero Configuration Required:** Works out of the box the moment you activate
   it — no complex settings panels or setup wizards required.
 * **Enterprise-Grade Security & Role Hierarchy:** Protected by WordPress nonces,
   isolated authentication cookies, strict role hierarchy checks, and concurrent
   switch detection.
 * **Ultra-Lightweight & 100% Self-Hosted:** Zero external API calls, zero database
   bloat, and zero impact on frontend site speed.

#### How It Works (In 3 Simple Steps)

 1. **Navigate to Users:** Go to **Users > All Users** in your WordPress admin dashboard(
    or open any individual user’s Edit Profile screen).
 2. **Click “Switch To”:** Hover over the user account you want to inspect and click
    the **Switch To** action link.
 3. **Test & Switch Back in 1 Click:** You are immediately logged in as that user with
    their exact permissions, menus, and frontend view. Click **Switch back to [Your
    Admin Name]** in the top admin bar, admin notice, or frontend footer whenever you
    are ready to return.

#### Real-World Use Cases

 * **WooCommerce Store Testing & Customer Support:** Switch into a **Customer** 
   or **Shop Manager** account to verify My Account pages, order tracking, wholesale/
   B2B role pricing, cart contents, and checkout flows exactly as shoppers experience
   them.
 * **Membership, LMS & Course Platforms:** Preview restricted content rules, course
   progression, and student dashboards across different membership tiers in LearnDash,
   MemberPress, Paid Memberships Pro, or Ultimate Member without maintaining dozens
   of dummy logins.
 * **Editorial & Custom Role Verification:** Confirm that **Editors**, **Authors**,**
   Contributors**, and **Subscribers** only see the dashboard menus, media library
   items, and publishing capabilities intended for their role.
 * **Live Customer Troubleshooting:** Reproduce customer-reported bugs on live sites
   in seconds without asking users to share their passwords or triggering password-
   reset emails.

#### Built-In Security Architecture & Role Permissions

Account impersonation requires strict guardrails. [Icegram User Switching is engineered around core WordPress security standards](https://www.icegram.com/docs/switch-user/getting-started/?utm_source=wpreadme&utm_campaign=icegram_user_switching_repo):

 * **Strict Role Hierarchy Enforcement:**
    - **Multisite Super Administrators:** Full network switching across all sub-
      sites, including Administrator accounts.
    - **Site Administrators (Single Site):** Can switch to any user account with
      equal or lower non-admin capabilities (_Editors_, _Shop Managers_, _Authors_,
      _Contributors_, _Customers_, _Subscribers_). To prevent unauthorized privilege
      lateral movement, standard Administrators cannot switch into another Administrator
      account.
    - **Non-Admin Roles (Editors, Authors, Subscribers) & Switched Sessions:** Zero
      switching capability. A switched session can only switch back to the originating
      administrator — it can never hop to another user.
 * **Nonce Verification on Every Action:** Every `Switch To` and `Switch back` link
   is protected by a unique, time-limited WordPress security nonce to prevent Cross-
   Site Request Forgery (CSRF) and link spoofing.
 * **Zero Password Exposure:** User passwords are never read, decrypted, modified,
   or exposed. Sessions are authenticated via core WordPress authentication cookies.
 * **Isolated Admin Session Cookies:** Your originating administrator session is
   stored in a dedicated, secure cookie that the switched account cannot access 
   or tamper with.
 * **Automatic Cookie Cleanup on Logout:** Logging out of WordPress while switched
   immediately purges all switching tokens and session cookies, requiring full credentials
   on the next login.
 * **Concurrent Switch Detection:** If another administrator or support agent is
   already switched into the same user account, Icegram User Switching displays 
   a warning notice to prevent overlapping edits or session collisions.

#### Seamless Compatibility Across Your WordPress Stack

 * **eCommerce:** WooCommerce, Easy Digital Downloads (EDD).
 * **Membership & LMS Plugins:** LearnDash, MemberPress, Paid Memberships Pro, Ultimate
   Member, Restrict Content Pro, WooCommerce Memberships.
 * **Community & Forums:** BuddyPress, BuddyBoss, bbPress.
 * **WordPress Multisite:** Network-activate across all sub-sites for Super Administrators.
 * **Two-Factor Authentication (2FA):** Works smoothly alongside standard WordPress
   2FA plugins so admins can troubleshoot user accounts without getting blocked 
   by the user’s 2FA token.
 * **Modern WordPress & PHP:** Tested up to **WordPress 7.1.3** and **PHP 7.4 – 
   8.3+**.

#### Built by the Icegram Team

**Icegram User Switching** is built and maintained by [Icegram](https://www.icegram.com/?utm_source=wpreadme&utm_campaign=icegram_user_switching_repo),
the team trusted by **150,000+ WordPress site owners** across our plugin ecosystem:

 * [**Temporary Login Without Password**](https://wordpress.org/plugins/temporary-login-without-password/)–
   Create secure, self-expiring admin login links for external developers and support
   teams without sharing passwords.
 * [**Email Subscribers & Newsletters (Icegram Express)**](https://wordpress.org/plugins/email-subscribers/)–
   Complete self-hosted email marketing, newsletters, post notifications, and WooCommerce
   automation.
 * [**Icegram Engage**](https://wordpress.org/plugins/icegram/) – High-converting
   popups, welcome bars, slide-ins, opt-ins, and lead generation campaigns.
 * [**Icegram Mailer**](https://wordpress.org/plugins/icegram-mailer/) – Reliable
   email deliverability, no-code SMTP replacement, and email logs for WordPress.
 * [**Icegram Collect**](https://wordpress.org/plugins/icegram-rainmaker/) – Easy
   contact forms, subscription forms, and lead capture with database storage.
 * [Duplicate Pages and Posts](https://www.google.com/search?q=https://wordpress.org/plugins/duplicate-post-page-copy-clone-wp/)–
   One-click clone WordPress posts and pages into drafts.
 * [**Icegram Cookie Manager**](https://wordpress.org/plugins/icegram-cookie-manager/)–
   Fast, free GDPR, CCPA, and Google Consent Mode v2 cookie consent banner.
 * [**Smart Manager**](https://wordpress.org/plugins/smart-manager-for-wp-e-commerce/)–
   Bulk-edit WooCommerce products, orders, coupons, and WordPress posts in an Excel-
   like spreadsheet.

## Installation

#### Option 1: Install Directly from Your WordPress Dashboard (Recommended)

 1. Log in to your WordPress Admin Dashboard and navigate to **Plugins > Add New**.
 2. Search for **Icegram User Switching** (or **Switch User Login by Icegram**).
 3. Click **Install Now** next to _Icegram User Switching_, then click **Activate**.
 4. There is no settings page to configure! Go directly to **Users > All Users**, hover
    over any user account, and click **Switch To**.

#### Option 2: Manual ZIP Upload

 1. Download the plugin ZIP archive from WordPress.org.
 2. In your WordPress Admin Dashboard, go to **Plugins > Add New > Upload Plugin**,
    select the ZIP archive, click **Install Now**, and click **Activate Plugin**.
 3. Navigate to **Users > All Users** and click **Switch To** on any user row.

## FAQ

### Can I switch between WordPress users without logging out or knowing their password?

Yes. Icegram User Switching lets authorized administrators switch into any eligible
user account in one click from **Users > All Users** or the **Edit User Profile**
screen without entering a username, password, or two-factor authentication code.

### How do I switch back to my original administrator account?

You can return to your original administrator session in one click from four convenient
places:
 1. **Admin Toolbar:** Click **Switch back to [Your Admin Name]** in the
top WordPress admin bar. 2. **Admin Notice:** Click the **Switch back** link inside
the persistent notice at the top of any wp-admin screen. 3. **Frontend Footer:**
When viewing the public frontend of your website as a customer or subscriber (where
the admin bar is hidden), click the discreet **Switch back to [Your Admin Name]**
link in the page footer. 4. **WordPress Meta Widget:** Click the switch-back link
inside the standard WordPress Meta sidebar widget.

### Who has permission to switch user accounts?

Only authorized administrators can switch accounts:
 * On **Single-Site WordPress**
installations, **Administrators** can switch into any lower-capability account (
such as _Editor_, _Shop Manager_, _Author_, _Contributor_, _Customer_, or _Subscriber_).
For security, standard Administrators cannot switch into another Administrator account.*
On **WordPress Multisite** networks, **Super Administrators** have full network 
switching capabilities across all sub-sites. * Non-admin roles (_Editors_, _Authors_,
_Subscribers_) cannot switch users, and a switched session cannot switch to a third
account.

### Does switching users modify the user’s profile data, orders, or password?

No. Switching only changes your active browser authentication session. None of the
user’s profile fields, passwords, settings, or WooCommerce orders are altered unless
you manually edit them while switched in.

### Does Icegram User Switching work with WooCommerce for free?

Yes! Unlike freemium “Login as Customer” plugins that lock WooCommerce testing behind
paid Pro plans, Icegram User Switching is **100% free** and works seamlessly with
WooCommerce customer accounts, carts, checkout flows, and order history screens.

### What happens if another admin is already switched into the same user account?

Icegram User Switching includes **Concurrent Switch Detection**. If another administrator
or support team member is currently switched into the same user account, the plugin
displays a warning notice so you can avoid session collisions or overwriting each
other’s troubleshooting steps.

### What happens if I close my browser while switched into another user?

Because the session state is stored in secure browser authentication cookies, reopening
your browser will restore the switched session (as long as your browser preserves
cookies) and you can click **Switch back** at any time. If you explicitly click **
Log Out** while switched, all switching cookies are immediately purged.

### Why am I seeing “Could not switch users” or “The link you followed has expired”?

This message means the time-sensitive WordPress security token (nonce) on the screen
has expired. Simply refresh the **Users > All Users** page to generate a fresh nonce
and click **Switch To** again. If you use persistent object caching (such as Redis
or Memcached) or a strict firewall plugin, check our [Troubleshooting Guide](https://www.google.com/search?q=https://www.icegram.com/docs/switch-user/use-cases-and-faq/%3Futm_source%3Dwpreadme%26utm_campaign%3Dicegram_user_switching_repo)
for quick cache/redirect exclusions.

### Why does the switched frontend view look cached or outdated?

WordPress sends authenticated session cookies that instruct caching plugins (like
WP Rocket, LiteSpeed Cache, or SG Optimizer) to bypass static page caches for logged-
in users. If pages appear stale while switched into a Subscriber or Customer role,
verify that “Disable caching for logged-in WordPress users” is enabled in your caching
plugin.

### How is Icegram User Switching different from Temporary Login Without Password?

**Icegram User Switching** is built for **your own internal admins and support staff**
to impersonate existing users on your site in one click. If you need to grant temporary,
self-expiring admin access to an **external developer, freelancer, or plugin support
engineer** without creating a permanent account, pair it with our sister plugin 
[**Temporary Login Without Password**](https://wordpress.org/plugins/temporary-login-without-password/).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Icegram User Switching – Switch User Accounts Instantly, Login as User & Test Roles
for WordPress & WooCommerce” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ Icegram ](https://profiles.wordpress.org/icegram/)
 *   [ Nirav Mehta ](https://profiles.wordpress.org/niravmehta/)
 *   [ Sandhya M ](https://profiles.wordpress.org/sandhyam/)

[Translate “Icegram User Switching – Switch User Accounts Instantly, Login as User & Test Roles for WordPress & WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/switch-user-login-by-icegram)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/switch-user-login-by-icegram/),
check out the [SVN repository](https://plugins.svn.wordpress.org/switch-user-login-by-icegram/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/switch-user-login-by-icegram/)
by [RSS](https://plugins.trac.wordpress.org/log/switch-user-login-by-icegram/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Update: Tested up to WordPress 7.1.3
 * Improvement: Enhanced session security, concurrent switch detection, and admin
   notice styling

#### 1.0.0

 * Initial release: One-click WordPress user switching and instant switch-back for
   administrators

## Meta

 *  Version **1.0.1**
 *  Last updated **1 month ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [impersonate-user](https://wordpress.org/plugins/tags/impersonate-user/)[login as user](https://wordpress.org/plugins/tags/login-as-user/)
   [switch user](https://wordpress.org/plugins/tags/switch-user/)[user switching](https://wordpress.org/plugins/tags/user-switching/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/switch-user-login-by-icegram/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/switch-user-login-by-icegram/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/switch-user-login-by-icegram/reviews/)

## Contributors

 *   [ Icegram ](https://profiles.wordpress.org/icegram/)
 *   [ Nirav Mehta ](https://profiles.wordpress.org/niravmehta/)
 *   [ Sandhya M ](https://profiles.wordpress.org/sandhyam/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/switch-user-login-by-icegram/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.google.com/search?q=https://www.icegram.com/%3Futm_source%3Dwpreadme%26utm_campaign%3Dicegram_user_switching_repo)