Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
rmwheeler
Not applicable

Assign access to app in load script

I would like to assign access to a specific app within the load script, rather than at the stream level.  We are using QlikSense server and we do use an active directory.  I have been trying to find the best way to do this, and I think it is by using Section Access?  However, I have not found an example of Section Access that fits my needs and/or that I understand.


I do not want to limit the data in an way, I just want to assign access using a list of people's AD User ID.  Can someone provide me with an example of how to do this?

1 Solution

Accepted Solutions
lironbaram
Not applicable

Re: Assign access to app in load script

hi

if you use this script you only use section access to grant user access to the model

section access;

LOAD * inline [

ACCESS, USERID

USER, AD_DOMAIN\ADMIN

USER, AD_DOMAIN\A

USER, AD_DOMAIN\B

USER, AD_DOMAIN\C

ADMIN, INTERNAL\SA_SCHEDULER

];

section application;

make sure to use upper case in all values in the section access table

also include the INTERNAL\SA_SCHEDULER in the table to make sure you can preform schedule reloads

2 Replies
lironbaram
Not applicable

Re: Assign access to app in load script

hi

if you use this script you only use section access to grant user access to the model

section access;

LOAD * inline [

ACCESS, USERID

USER, AD_DOMAIN\ADMIN

USER, AD_DOMAIN\A

USER, AD_DOMAIN\B

USER, AD_DOMAIN\C

ADMIN, INTERNAL\SA_SCHEDULER

];

section application;

make sure to use upper case in all values in the section access table

also include the INTERNAL\SA_SCHEDULER in the table to make sure you can preform schedule reloads

rmwheeler
Not applicable

Re: Assign access to app in load script

That was easy!! THANK YOU!