Impersonate a user
See Servicely as another user to test their access, then return to your own account.
Impersonate a user to test an application, a permission or a restriction from their point of view. This task is for administrators, and only holders of administrator can impersonate.
Before you begin
- You need
administrator. - The user you want to impersonate must not hold
administrator. Administrators cannot be impersonated. - Impersonation must be allowed on the instance. The application property
system.impersonation.disabledturns it off when set to true. The default is false.
Steps
-
Open the user menu in the menu bar and select Impersonate.
-
Pick the user from Select user, or from Recent impersonations.
-
Select Impersonate. The application reloads and shows what the selected user sees.
-
Check what you came to test, such as the menus, lists and records the user can open.
-
When you finish, open the user menu and select Clear impersonation.
Result
While impersonation is active, all activity appears to come from the impersonated user. Audit history records are the exception: they show that an impersonated session created them. After you clear impersonation, you see the application as yourself again.
To let the impersonated session use debugging tools, give the user impersonate_debug.
To turn impersonation off for everyone, set system.impersonation.disabled to true under Application → Application → Application properties.