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

Problem with section access

Hello

I want to use section access in order to restrict data for different users.

I just did super-simple entry in the table just to check if it works but got a problem.

Section Access;

LOAD * INLINE [

    ACCESS, NTNAME

    ADMIN, DOMAIN\Myname

    USER, DOMAIN\Otheruser

];

The capitals in NTName are just like in my login (I tested it using OSUser() function in QV), but I tested also other combination like all in upper case.

After I start to reload the data I get this error message, the script is interrupted  and then the apps hides all the sheets except the title one.

ADMIN access required:

Section Access

What am I doing wrong?

TIA

Maciej

3 Replies
vinieme12
Champion III
Champion III

Can you post your actual script?

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Not applicable
Author

Hi

What do you mean by 'actual script' ? I have posted the section access part of the script.

vinieme12
Champion III
Champion III

Section access is applied the next time you open your QVW

Save and close the QVW and open the QVW again

from the error message it appears you have not mentioned your NTNAme correctly which is why you don't have admin access to the QVW

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.