Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to add two values in reduction section while applying row level security ?

HI ,

now suppose I want to assign 2 values to one user id , for eg

Section Access;


LOAD * INLINE [

ACCESS, USERID, HOSPITAL

ADMIN,QLIK-SENSE\Admin,*

USER,QLIK-SENSE\xxx,ABC

USER,QLIK-SENSE\yyy,DEF

USER,QLIK-SENSE\zzz,GHI


If I want to assign both  (GHI and JKL) hospital value  to user zzz

How to write in script level ?

1 Solution

Accepted Solutions
devyanshu_gupta
Partner - Contributor III
Partner - Contributor III

Hi,

You can add another line with value JKL

Try this

LOAD * INLINE [

ACCESS, USERID, HOSPITAL

ADMIN,QLIK-SENSE\Admin,*

USER,QLIK-SENSE\xxx,ABC

USER,QLIK-SENSE\yyy,DEF

USER,QLIK-SENSE\zzz,GHI

USER,QLIK-SENSE\zzz,JKL

]


Regards,

Devyanshu

View solution in original post

1 Reply
devyanshu_gupta
Partner - Contributor III
Partner - Contributor III

Hi,

You can add another line with value JKL

Try this

LOAD * INLINE [

ACCESS, USERID, HOSPITAL

ADMIN,QLIK-SENSE\Admin,*

USER,QLIK-SENSE\xxx,ABC

USER,QLIK-SENSE\yyy,DEF

USER,QLIK-SENSE\zzz,GHI

USER,QLIK-SENSE\zzz,JKL

]


Regards,

Devyanshu