跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Login as User or Customer — User Switching

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

Login as User or Customer — User Switching

由 wp-buy 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

Login as User or Customer is a powerful user switching plugin that lets admins and support staff instantly switch into any user account — without knowing their password. It’s the fastest way to see exactly what your customer sees, troubleshoot issues, and provide hands-on support directly from your WordPress dashboard.

WooCommerce store owners: This plugin is purpose-built for you. Switch to a customer from the Orders screen, manage their cart, and create orders on their behalf — ideal for phone orders and assisted sales. WooCommerce features require the Pro version.

Who is this for?

  • WooCommerce stores — assist customers with orders, cart issues, and account problems without asking for their password
  • Membership sites — verify what members see after logging in
  • Agencies & developers — test roles and permissions across any user account instantly
  • Support teams — reproduce customer-reported bugs in one click

Free Features

  • One-click user switching — switch to any non-admin account from the Users screen
  • Switch from user profile — Login As button on the Edit User screen
  • Go Back in one click — a persistent bar on the front end returns you to your original account instantly
  • No password needed — access any account without exposing credentials
  • Role-based access control — choose which roles are allowed to use the switch feature
  • 2FA compatible — works alongside most two-factor authentication plugins
  • Multisite compatible — works on WordPress network installations
  • Nonce-protected — every switch action is verified with a WordPress nonce
  • Secure session storage — switch state stored server-side using WordPress transients, not exposed cookies

Pro Features

  • ⭐ WooCommerce Orders page — Login As button next to every order
  • ⭐ WooCommerce Order detail — switch to the customer from the single order screen
  • ⭐ Cart management — add, remove, and edit products in the customer’s cart
  • ⭐ Create orders on behalf of customers — perfect for phone and assisted sales
  • ⭐ Advanced role management — granular control over who can switch to whom
  • ⭐ Custom redirect URL — choose where you land after switching
  • ⭐ Activity log — track every switch action for auditing purposes
  • ⭐ Shortcode support — place Login As buttons anywhere on your site

Upgrade to Pro →

How It Works

  1. Go to Users in your WordPress admin
  2. Click Login as this user next to any non-admin account
  3. You are instantly switched into that account — no password required
  4. Browse the site as that user
  5. Click Go back in the bar at the bottom of the screen to return to your admin account

Security

Security is the foundation of this plugin. Every action is protected by multiple layers:

  • Nonce verification on every switch and return action
  • Capability checks — only users with edit_users, manage_options, or manage_woocommerce can switch
  • Admin account protection — switching into administrator accounts is blocked
  • Server-side session storage — switch state stored in WordPress transients with a 1-hour TTL that refreshes on every page load
  • HttpOnly + SameSite=Lax cookies — session tokens protected against XSS and CSRF
  • No data sharing — no data is sent to any external service

Security vulnerabilities are managed through the Patchstack Vulnerability Disclosure Program. All reported issues are reviewed, patched, and disclosed responsibly.

Privacy

This plugin does not send data to any third party, does not include any third-party resources, and never will.

The plugin uses a single browser cookie (loginas_session_token) to identify the current switch session. The cookie stores only a random 64-character token — no user data. The actual session data (user IDs) is stored server-side in WordPress transients.

Compatibility

  • WordPress 5.0+
  • WordPress Multisite
  • WooCommerce (Pro)
  • PHP 7.4, 8.0, 8.1, 8.2, 8.3
  • Compatible with most 2FA and security plugins

Security

This plugin is enrolled in the Patchstack Vulnerability Disclosure Program.

To report a security vulnerability, please use the Patchstack mVDP link above. Do not report security issues through the WordPress support forum.

螢幕擷圖

  • Users page — Login As button next to each user
  • WooCommerce orders page — Login As column (Pro)
  • Front-end notice bar — shown while switched into another account

安裝方式

From the WordPress dashboard:

  1. Go to Plugins → Add New
  2. Search for Login as User or Customer
  3. Click Install Now then Activate
  4. Visit Login AS in the admin menu to configure settings

Manual installation:

  1. Download login-as-customer-or-user.zip
  2. Go to Plugins → Add New → Upload Plugin
  3. Upload the zip and click Activate Plugin

常見問題集

Who can switch user accounts?

Only users with the edit_users, manage_options, or manage_woocommerce capability. You can further restrict this to specific roles in the plugin settings under Login AS → Settings.

Can I switch into an administrator account?

No. Switching into any account with administrator-level capabilities (edit_users or manage_options) is blocked for security reasons.

How do I switch back to my original account?

A bar appears at the bottom of the page while you are switched in. Click Go back to return to your original admin account instantly.

Does this work with WooCommerce?

Yes — WooCommerce features are available in the Pro version. This includes a Login As button on the orders list, a meta box on the single order screen, cart management, and the ability to create orders on behalf of customers.

Does this work with two-factor authentication (2FA)?

Yes. The plugin is compatible with most 2FA solutions. The 2FA prompt is bypassed when switching because you authenticate as the admin, not the target user.

Does this work on WordPress Multisite?

Yes. The plugin works on Multisite installations.

What happens if I close my browser while switched in?

The switch session is stored as a WordPress transient with a 1-hour TTL that refreshes on every page load. If the transient expires or is evicted from the cache, the session ends and you will be returned to a normal logged-out state. Simply log back into your admin account.

Does the plugin send any data externally?

No. The plugin does not send data to any third party, does not include any third-party resources, and does not use external APIs.

How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.

使用者評論

waste of time and energy

anjoid 2023 年 11 月 17 日
would be nice if you include anything in the free version, scam.

Not Free

churongcon 2022 年 6 月 19 日
It’s not free, limit first page, but easily to null and remove limited

Misleading

zavakz 2022 年 5 月 8 日 1 則留言
Plugin states “The ability to access any user account without having the user password (Just click the button Login as in the user’s list)” I wanted to use this to test out permissions for certain groups.. Well that turned out to be a big waste of time. Gotta upgrade to the “Pro” version to do the very thing this plugin is claiming to do.

no use of without paid version

worldwidewebsolution.com 2022 年 4 月 28 日
after intalling pluing, you will have to purchase inoder to do any thing. so its no of use as free, I uninstalled it within 2 minutes.

Not useful and misleading information

miata2 2022 年 3 月 3 日
No, not this way, this is not a plugin, this is begging for money.

Its not free and also only allow to check 10 users

Arul Prasad J 2021 年 6 月 3 日 2 則留言
The description does not contain anything regarding paid version that needs to view all users or its free versions limitations.
閱讀全部 13 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Login as User or Customer — User Switching〉的開發相關工作。

參與者
  • wp-buy
  • mohmmed alagha
  • osama.esh

將〈Login as User or Customer — User Switching〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

v 4.1.0

  • New: Redesigned settings page with modern UI
  • New: “Enable Plugin In” section — control where the Login As button appears (Users Page / User Profile Page)
  • New: User Profile Page now shows a Login As button directly on the Edit User screen

v 4.0.0

  • Fixed: “Go back” button failed for editors and non-admin roles — the capability check was incorrectly applied to the switched-in user instead of the original admin
  • Improved: Session TTL refreshes on every page load — session stays alive while user is active
  • Improved: Cookie domain now respects WordPress COOKIE_DOMAIN constant
  • Improved: Pro upgrade notice in WooCommerce uses a clear badge instead of a broken link
  • Improved: Review notice waits 7 days after activation before appearing

v 3.9.1

  • Security hardening for the user switching workflow
  • Removed insecure cookie/session-based account switching
  • Added nonce and capability checks for all switch and return actions
  • Restricted switching to non-privileged target accounts only
  • Implemented secure server-side session storage using WordPress transients
  • Added proper session cleanup on logout and switch-back

v 3.7

  • Removing unwanted images
  • Fixed return to admin function – hot fix 3

v 3.6

  • Fixed return to admin issue – hot fix 2

v 3.5

  • Fixed return to admin issue – hot fix
  • New responsive interface

v 3.3

  • Security bug fixes

v 3.2

  • Bug fixes and styling improvements

v 3.1

  • Updated tested up to

v 2.9

  • Bug fixing in users and orders page

v 2.8

  • Bug fixing in user switching with 2FA

v 2.7

  • Bug fixing in users page and WooCommerce orders page

v 2.6

  • Bug fixing in users page (remove limitation)
  • Adding new option — Go Back button position

v 2.5

  • Bug fixing in button position

v 2.4

  • Adding Spanish (Argentina) translation by Mr. gnukleo

v 2.3

  • Bug fixing in the WooCommerce cart

v 2.2

  • Enable plugin for Admin by default

v 2.1

  • Code fixes

v 1.9

  • Bug fixing in permissions — editor can no longer switch to admin
  • Bug fixing in plugin options Roles section

v 1.8

  • Bug fixing in the AJAX request

v 1.7

  • Change logout box location from top to left
  • Redirect admin to the correct page after logout

v 1.6

  • Adding wp-buy control panel page

v 1.5

  • Bug fixing in the orders page and users page

v 1.4

  • Bug fixing in CSS z-index issue

v 1.3

  • Adding Vote message

v 1.2

  • Bug fixes in the Login as user message

v 1.1

  • First beta release

中繼資料

  • 版本 4.1.0
  • 最後更新 4 週前
  • 啟用安裝數 100+
  • WordPress 版本需求 5.0 或更新版本
  • 已測試相容的 WordPress 版本 6.9.4
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    login as customerlogin as userswitch useruser switchingwoocommerce
  • 進階檢視

評分

3 星,滿分為 5 星
  • 6 個 5 星使用者評論 5 星 6
  • 0 個 4 星使用者評論 4 星 0
  • 1 個 3 星使用者評論 3 星 1
  • 0 個 2 星使用者評論 2 星 0
  • 6 個 1 星使用者評論 1 星 6

Your review

查看全部使用者評論

參與者

  • wp-buy
  • mohmmed alagha
  • osama.esh

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.