# Magento 2 Admin Account Switcher

### <span style="color: #3b82f6;">Installation and User Guide for Magento 2 Admin Account Switcher</span>

**Table of Contents**

1. [*Installation* ](#bkmrk-installation)
    - *Installation via app/code*
    - *Installation via Composer*
2. [*Configuration Settings for Admin Account Switcher*](#bkmrk-configuration-settin)
    - *General Settings*
3. *[Admin Account Switcher Workflow](#bkmrk-admin-account-switch)*
4. [*Admin Account Switcher Role*](#bkmrk-admin-account-switch-1)

### <span style="color: #3b82f6;">Installation</span> [](#bkmrk-)

- <span style="color: #f97316;">**Installation via app/code:**</span> Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added. After the successful upload of the package, run below commands on Magento 2 root directory.
    
    ```php
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy
    ```
- <span style="color: #f97316;">**Installation via Composer:**</span> Please follow the guide provided in the below link to complete the installation via composer.

<p class="callout success">[https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer](https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer)</p>

### <span style="color: #3b82f6;">Configuration Settings for Admin Account Switcher</span> [](#bkmrk--1)

Go to **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Admin Account Switcher**

#### <span style="color: #f97316;">General Settings</span> [](#bkmrk--2)

- **Enabled -** Select "Yes" or "No" to enable or disable the module.
- **License Key -** Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. Please go to *Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Core* and click on "Verify" to verify the license key.

[![image (59) (1).png](https://docs.scommerce-mage.com/uploads/images/gallery/2025-06/scaled-1680-/image-59-1.png)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-06/image-59-1.png)

### <span style="color: #3b82f6;">Admin Account Switcher Workflow</span> [](#bkmrk--6)

Using this extension an admin can login into another admin's account directly from admin edit form section without requiring a password which allows them to debug easily without having to reset the other admin's password.

The admin can only use this functionality if they have the "Scommerce Switch Admin Account" (***Admin&gt;System&gt;Permissions&gt;User Roles&gt;Select Role&gt;Role Resources***)selected under role resources for their user role.

Go to Admin&gt;System&gt;Permissions&gt;All Users, here select(click edit) the admins account in which you want to login.

From the top menu click on "Switch User" and you will be logged into that admin's account without password authentication.

[![image (60) (1).png](https://docs.scommerce-mage.com/uploads/images/gallery/2025-06/scaled-1680-/image-60-1.png)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-06/image-60-1.png)

### <span style="color: #3b82f6;">Admin Account Switcher Role</span> [](#bkmrk--6)

The "Switch to User" button is displayed **only if** the current admin user has the **"Scommerce Switch Admin Account"** permissions in their user role.

To check this, you can go to *Admin&gt;System&gt;Permissions&gt;User Roles&gt;Role Resources* and check whether the user role has "Scommerce Switch Admin Account Role" selected.

[![image (61) (1).png](https://docs.scommerce-mage.com/uploads/images/gallery/2025-06/scaled-1680-/image-61-1.png)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-06/image-61-1.png)

If you have a question related to this extension please check out our [<span style="text-decoration: underline;">**FAQ Section**</span>](https://www.scommerce-mage.com/magento-2-admin-account-switcher.html#customfaq) first. If you can't find the answer you are looking for then please contact [**support@scommerce-mage.com**](mailto:core@scommerce-mage.com)**.**