--- title: "Log in as another user" slug: "log-in-as-another-user" tags: ["How-to", "Explainer", "Totara Platform", "Site Administrator"] updated: 2026-08-13T16:01:06Z published: 2026-08-13T16:01:06Z canonical: "totara.help/log-in-as-another-user" --- > ## Documentation Index > Fetch the complete documentation index at: https://totara.help/llms.txt > Use this file to discover all available pages before exploring further. # Log in as another user As a Site Administrator (or another individual with an appropriate role and associated permissions) you can log in as another (non-administrative) user. Logging in as a user allows you to see the site as this user would see it, and complete various actions across the site. ![A Site Administrator viewing a dashboard while logged in as a tenant user.](https://cdn.document360.io/a007399b-031e-436b-999a-528240e16f58/Images/Documentation/image-1727346373844.png?sv=2026-02-06&spr=https&st=2026-11-06T07%3A05%3A25Z&se=2026-11-06T08%3A05%3A25Z&sr=c&sp=r&sig=NZ8vg9ATttbJsRynDI0qyCsyBn%2BnK39FrR1SO47zJrU%3D) Site Administrators and Site Managers have the ability to log in as other users by default. However, you can assign the **moodle/user:loginas** [capability](/totara-20/docs/capability-overview) to a role at the site or course level to allow users to log in to other users' accounts. For example, you could assign this capability to the Editing Trainer role in a specific course to allow any Editing Trainers in that course to log in to Learners' accounts, which could help with troubleshooting issues, or [allow Tenant Domain Managers to log in as members of their tenant](/totara-20/docs/log-in-as-another-user#allow-tenant-domain-managers-to-log-in-as-tenant-members). See [Edit a role](/totara-20/docs/edit-a-role) for more information on how to change a role's assigned capabilities. To log in as another user, follow these steps: 1. Go to *Quick-access menu >* *Users*. 2. Search for and find the required user. 3. Select the user's name to open their profile. 4. Under the **Administration** section, click **Log in as**. 5. Complete the required actions as the selected user. 6. Click **Log out** on the user menu to end the session. The **Log in as** functionality is primarily designed for troubleshooting access and technical issues, but may also be used for testing purposes or to assist a user who is having difficulty with a specific task or action. ![A Site Administrator clicking the Log in as link on a user's profile.](https://cdn.document360.io/a007399b-031e-436b-999a-528240e16f58/Images/Documentation/image-1727346340257.png?sv=2026-02-06&spr=https&st=2026-11-06T07%3A05%3A25Z&se=2026-11-06T08%3A05%3A25Z&sr=c&sp=r&sig=NZ8vg9ATttbJsRynDI0qyCsyBn%2BnK39FrR1SO47zJrU%3D) For security reasons, you will be required to log back in as yourself following a **Log in as** session. Actions carried out while logged in as another user will be logged against the individual's activity and identified as being completed by the administrator during a logged-in-as session. This is different to the [**Switch role**](/totara-20/docs/switching-course-roles) feature in Totara Learn courses, as it allows you to complete actions as the user you are logged in as. Please be aware that using the **Log in as** functionality may not always provide an accurate representation of what a user can see. To reliably test how a user in a given role will see your site and its content we recommend creating a test account with the relevant roles and permissions. ## Allow Tenant Domain Managers to log in as tenant members As of Totara 18 you can allow Tenant Domain Managers to log in as members of their tenant (not system-level users who have been added to the tenant). To do this, follow these steps: 1. Go to *Quick-access menu > Tenants* and select the tenant. 2. Click **Permissions** under **Category: [Tenant name]**. 3. Find the **moodle/user:loginas** capability and click the plus icon (![small_plus_icon](https://cdn.document360.io/a007399b-031e-436b-999a-528240e16f58/Images/Documentation/small_plus_icon.png?sv=2026-02-06&spr=https&st=2026-11-06T07%3A05%3A25Z&se=2026-11-06T08%3A05%3A25Z&sr=c&sp=r&sig=NZ8vg9ATttbJsRynDI0qyCsyBn%2BnK39FrR1SO47zJrU%3D)) in the **Roles with permission** column. 4. Select **Tenant Domain Manager**. Any Tenant Domain Managers in this tenant will now be able to log in as tenant members. Join the [Totara Community](https://totara.community/) for more resources to help you get the most out of Totara. © Copyright 2025 Totara Learning Solutions. All rights reserved. Some content originally obtained via [GPLv3 license](https://www.gnu.org/licenses/licenses.html#GPL) and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions.