Impersonating Users


To help users debug an issue or to get a better understanding of what they see when they use their ownCloud account, you can impersonate their ownCloud user. The ability to do so is a feature delivered via an ownCloud app called Impersonate.


  • This functionality is available to administrators only.

  • Impersonating is not possible when using Shibboleth or OpenID.

Impersonating a User

When installed, you can then impersonate users; in effect, you will be logged in as a specific user. To do so, go to the Users list, where you will now see a new column available called "Impersonate", as in the screenshot below.

Picking a User to Impersonate

Click the gray head icon next to the user that you want to impersonate. Doing so will log you in as that user, temporarily pausing your current session. You will see a notification at the top of the page that confirms you’re now logged in as (or impersonating) that user.

Impersonating a user

Anything that you see until you log out will be what that user would see.

Ending an Impersonation

When you’re ready to stop impersonating the user, log out and you will return to your normal user session.

Allow Some or All Group Administrators to Impersonate Users

As a security measure, the application lets ownCloud administrators restrict the ability to impersonate users to:

  • All group administrators.

  • Specific group administrators.

By default, when the Impersonate app is installed, only the ownCloud administrator will be allowed to impersonate users. When the app is installed and configured, ownCloud administrators retain the ability to impersonate all users of an ownCloud instance.

When enabled and configured, only a group’s administrator can impersonate members of their group. For example, if an ownCloud administrator restricts user impersonation only to the group: group1, then only group1’s administrators can impersonate users belonging to `group1. No other users can impersonate other users.

To configure it, go to the administrator settings panel, which you can find under User Name  Settings  Admin  User Authentication. You’ll see a section titled: Impersonate Settings.

  • If you want to allow group admins to impersonate users within groups which they administer, click Allow all group admins to impersonate users within the groups they are admins of.

    Restricting the ability to impersonate users to specific groups
  • If you want to limit impersonation to specific group admins, first click Allow group admins of specific groups to impersonate the users within those groups. With the option checked, click into the textbox underneath it. You will see a list of all groups on your ownCloud installation, which will change, based on what you type in the textbox to search for specific groups.

    Impersonate App Settings

Choose one or more groups from the list, and they will be added to the textbox, restricting this functionality to only those groups.