Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
knightwriter
Creator III
Creator III

QVUser() on NTNAME

Hi All,

Is it possible to use the QVUser() condition if I only user NTNAME in my Section Access?

I have used the below Section Access but I am now trying to use the QVUSER on certain List Box Properties.

LOAD * INLINE [

    ACCESS, NTNAME, CONSTRAIN1

    ADMIN, xxx , xxx

];

Section Application;

zVisibility1:

Load [NTNAME] As CONSTRAIN1,

     [OPTY_CAR] As "Car_Sales.Business Group"

FROM [\\$(oEnvironment)\QlikView\User Access\$(oUserAccess)] (biff, embedded labels, table is [Visibility1$]);

1 Solution

Accepted Solutions
tresesco
MVP
MVP

2 Replies
Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

It sounds to me as if you want to create Object Level security. Is this right?

If so, in your section access you have to include the object as well and assign Users to object as you which

Example:

Section Access;

LOAD * INLINE [

    ACCESS, USERID

    Admin, A

    User, B

    User, C

    USer, D

];

Section Application;

ObjectAccess:

LOAD * INLINE [

USERID, CH01, CH02

A,1,1

B,1,0

C,0,1

D,1,1];

tresesco
MVP
MVP

Try, OSUser()