Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
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
Partner - Master III
Partner - Master III

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

View solution in original post

2 Replies
lironbaram
Partner - Master III
Partner - Master III

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

Anonymous
Not applicable
Author

That was easy!! THANK YOU!