FIRST CREATED ON 8 Oct 2026 I AUTHOR Emma Camacho
The Impersonate action is used in tasks to impersonate a user in Qlik Sense, thus reducing the data model according to the user's section access. This action can be used only with Qlik Sense Datasources, both Server and SaaS with Authentication Type: Impersonation (Section Access).
Qlik Sense Server
In our example the Access List looks like this
SECTION ACCESS;
Access:
load * inline [
ACCESS,USERID,SA_ACCOUNT
ADMIN,INTERNAL\SA_SCHEDULER,
ADMIN,DOMAIN\md_service,
USER,DOMAIN\ahonda,AHONDA
USER,DOMAIN\afields, AFIELDS
USER,DOMAIN\acraig,ACRAIG
];
SECTION APPLICATION;
The CYCLE action. In this example, i am using a Cycle over values. You can use a field that included the accounts you will impersonate and distribute the reports to.
The Impersonate action looks like this and all the actions within the Impersonate group will consider section access.
The Output Debug Information action will display the current OSUser(). You will see that within the Impersonate group, the osuser() returns the impersonated user. All the actions within the Impersonate group will consider section access.
[Datasource].[Sales Analysis - App with Section Access].[Expression].[osuser()]
Qlik Sense SaaS
In our example the Access List looks like this
SECTION ACCESS;
Access:
load * inline [
ACCESS,USER.EMAIL,SA_ACCOUNT
ADMIN,admin@company.com,
USER,ahonda@company.com, AHONDA
USER,afields@company.com, AFIELDS
USER,acraig@company.com,ACRAIG
];
SECTION APPLICATION;
The task will look this:
The CYCLE action. In this example, i am using a Cycle over values. You can use a field that included the emails you will impersonate and distribute the reports to.
The Impersonate action looks like this and all the actions within the Impersonate group will consider section access.
The Output Debug Information action will display the current OSUser(). You will see that within the Impersonate group, the osuser() returns the impersonated user.
[Datasource].[Sales Analysis - App with Section Access].[Expression].[osuser()]
Looking for Additional Guidance?
If you require more detailed information or further assistance, please visit our comprehensive Online Documentation. Our resources are designed to help you navigate all features and functionalities effectively.