Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Krish2459_58
Creator II
Creator II

Section access help

Hi, I'm trying to implement section access with th eblow code but not able to authorize data based on user login.

 

Could you please help to identify what went wrong.

 

ACCESS USERID Group
ADMIN NA\SVC_QS_SYSTEMPROD *
ADMIN NA\SVC_QLIKVIEWDEVTEST *
ADMIN NA\SVC_QS_SYSTEMDEV2 *
ADMIN INTERNAL\SA_REPOSITORY *
ADMIN INTERNAL\SA_SCHEDULER *
USER * *
USER LKNDZ\REDDYK BCC
USER EXCELODBCUDC\KEELAN@xyz.COM BCCINVST

 

SECTION ACCESS;
Security:
LOAD
"ACCESS",
"USERID",
"Group"
FROM [/Security.xlsx]
(ooxml, embedded labels, table is Sheet1);

 

SECTION APPLICATION;


Groupref:
load * inline [
Group
BCC
BCCINVST
];

 

 

Labels (1)
2 Replies
sbaro_bd
Creator III
Creator III

Hi @Krish2459_58 ,

Before to load your security table, declare the star symbole like a string.

STAR IS *;

SECTION ACCESS;
Security:
LOAD
"ACCESS",
"USERID",
"Group"
FROM [/Security.xlsx]
(ooxml, embedded labels, table is Sheet1);

 

SECTION APPLICATION;


Groupref:
load * inline [
Group
BCC
BCCINVST
];

Regards.

Muthukumar_77
Contributor III
Contributor III

Hi,

Field "Group" & value should be uppercase. 

SECTION ACCESS;
Security:
LOAD
"ACCESS",
"USERID",
Upper("Group") as GROUP
FROM [/Security.xlsx]
(ooxml, embedded labels, table is Sheet1);

 

SECTION APPLICATION;


Groupref:
load * inline [
GROUP
BCC
BCCINVST
];

Thanks Regards,
Muthukumar P
Qlik Developer