Title: Dalmatian Dream Login As User
Author: Boris Horvat
Published: <strong>September 2, 2026</strong>
Last modified: September 2, 2026

---

Search plugins

![](https://ps.w.org/dalmatian-dream-login-as-user/assets/banner-772x250.png?rev
=3677506)

![](https://ps.w.org/dalmatian-dream-login-as-user/assets/icon-256x256.png?rev=3677506)

# Dalmatian Dream Login As User

 By [Boris Horvat](https://profiles.wordpress.org/whitedd/)

[Download](https://downloads.wordpress.org/plugin/dalmatian-dream-login-as-user.2.0.10.zip)

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

 [Support](https://wordpress.org/support/plugin/dalmatian-dream-login-as-user/)

## Description

Dalmatian Dream Login As User adds a secure “Login as user” action to the WordPress
Users screen for administrators with the dedicated `dd_switch_users` capability.

The plugin uses opaque per-session switch tokens, server-side transient state, nonce-
protected switch and return actions, strict target validation, safe redirects, and
cleanup on logout. It blocks nested impersonation and protects multisite super administrator
accounts.

The plugin does not send data to external services and does not include telemetry,
advertising, or remote code.

### Privacy

Dalmatian Dream Login As User does not transmit personal data to external services.
Switch-session state is stored temporarily in the local WordPress database using
transients and is removed when the session expires, the user returns to the administrator
account, or the impersonated user logs out.

## Installation

 1. Upload the `dd-login-as-user` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the Plugins screen in WordPress.
 3. Administrators receive the `dd_switch_users` capability on activation.

## FAQ

### Who can switch users?

Only users with the `dd_switch_users` capability can start a switch session. The
plugin adds that capability to the administrator role on activation.

### Can administrators impersonate other administrators?

On single-site installs, administrator-to-administrator switching is blocked by 
default. Developers can opt in with the `dd_login_as_user_allow_admin_target` filter.

### How long does a switch session last?

The default timeout is 60 minutes. It can be adjusted with the `DD_LOGIN_AS_USER_TIMEOUT`
constant or the `dd_login_as_user_timeout` filter.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Dalmatian Dream Login As User” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Boris Horvat ](https://profiles.wordpress.org/whitedd/)

[Translate “Dalmatian Dream Login As User” into your language.](https://translate.wordpress.org/projects/wp-plugins/dalmatian-dream-login-as-user)

### Interested in development?

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

## Changelog

#### 2.0.8

 * Removed unused storage of the original administrator WordPress session token.
 * Reduced temporary switch-session state to the minimum data required for secure
   account switching.

#### 2.0.7

 * Prepared plugin metadata and documentation for WordPress.org Plugin Directory
   review.
 * Updated WordPress compatibility metadata.
 * Clarified privacy and local switch-session storage behavior.

#### 2.0.6

 * Added the plugin languages folder.
 * Documented the intentional WordPress core login hook call for compatibility.

#### 2.0.5

 * Restored the impersonated account early from the secure switch token when the
   WordPress auth cookie is not accepted.
 * Fired the standard WordPress login action after a successful switch.

#### 2.0.4

 * Changed successful switch landing to the admin dashboard instead of the user 
   profile screen.
 * Prevented cached profile redirects from blocking impersonation when profile access
   is hidden.
 * Set a persistent authentication cookie for the impersonated account.

#### 2.0.3

 * Fixed Plugin Check internationalization and redirect sanitization findings.
 * Removed discouraged manual translation loading call.

#### 2.0.2

 * Changed successful switch redirect to the impersonated user’s profile panel.

#### 2.0.1

 * Fixed blank page after switching to another user.
 * Fixed blank page after returning to the administrator account.
 * Improved safe local redirect handling after account switches.

#### 2.0.0

 * Reworked user impersonation session security.
 * Added unique switch-session tokens.
 * Added secure return-to-administrator workflow.
 * Added dedicated switch capability.
 * Added multisite and administrator-target protections.
 * Improved nonce, input sanitization and redirect handling.
 * Added internationalization support.
 * Removed production debug output.
 * Added lightweight audit hooks.
 * Improved WordPress.org / Plugin Check compatibility.

## Meta

 *  Version **2.0.10**
 *  Last updated **3 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1**
 *  PHP version ** 8.1 or higher **
 * Tags
 * [admin](https://wordpress.org/plugins/tags/admin/)[impersonation](https://wordpress.org/plugins/tags/impersonation/)
   [login](https://wordpress.org/plugins/tags/login/)[user switching](https://wordpress.org/plugins/tags/user-switching/)
   [users](https://wordpress.org/plugins/tags/users/)
 *  [Advanced View](https://wordpress.org/plugins/dalmatian-dream-login-as-user/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/dalmatian-dream-login-as-user/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dalmatian-dream-login-as-user/reviews/)

## Contributors

 *   [ Boris Horvat ](https://profiles.wordpress.org/whitedd/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dalmatian-dream-login-as-user/)