Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
zagzebski
Creator
Creator

Section access not working

I am new to section access and tried to do something very simple based on what I read on a few discussions here

I put this simple code in the beginning of my script seeing if I could at least restrict the data to Dept "D" if I logged in as User1 but nothing is restricted.

Section Access;

Load * INLINE

ACCESS, USERID, PASSWORD, Dept

ADMIN, Admin, Admin

User, User1, User1, D

];

Section Application;

Thanks in advance for any help.

Steve

12 Replies
Colin-Albert

To restrict access based on the Dept field using Section Access, the field name must be uppercase.

Try renaming Dept to DEPT in the Section access table and your data tables

heimo_ernst_wei
Contributor III
Contributor III

Thank you!

How do you define "empty string"?


a semicolon at the end in line 3

Load * INLINE

[ACCESS, USERID, PASSWORD, DEPT

ADMIN, ADMIN, ADMIN,

USER, USER1, USER1, D

];

AND: you need '[' before ACCESS in line 2!!

AND: ALL in UPPER cases (see above)

Not applicable

Something like this:

LOAD * INLINE [

ACCESS, USERID, PASSWORD, BU, NTNAME

ADMIN, A, A, '', *

..

...

...

...

...

];