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: 
alessandro_mari
Partner - Contributor III
Partner - Contributor III

Section Access doesn't work Qlik Sense September 2017

Good morning experts,

I'm Alessandro.

I have an issues with SA. Every time i try to access the file, sense turn to me an "Access Denied" error.  USERID is equal to Sense User name.

Thanks in andvance,

Alessandro

PS the same SA works in QlikView

section access;

Accessi:

load

'USER' AS ACCESS

,upper(USERID) as USERID

,NTNAME as USER

FROM [$(pathXLS)\Nuti.xls] (biff, embedded labels, table is Restrizioni$)

where not isNull(NTNAME);

concatenate (Accessi) load

'ADMIN' as ACCESS

,upper(trim(subfield('$(RestrictionsSuperusers)', ','))) as USERID

,'*' as USER

autogenerate 1;

14 Replies
Ricardo_Gerhard
Employee
Employee

The full and correct that you want to test is this:

section access;

LOAD * inline [

ACCESS, USERID,REDUCTION, OMIT

USER, DOMAIN\SANDRA,*,

USER, DOMAIN\OLGA,*

ADMIN, INTERNAL\SA_SCHEDULER,*,];

section application;

T1:

LOAD *,

NUM AS REDUCTION;

LOAD

Chr( RecNo()+ord('A')-1) AS ALPHA,

RecNo() AS NUM

AUTOGENERATE 3;

Take a look, the DOMAIN or COMPUTER name must be set as the same on license allocated for both users.

Do you know if this problem isn´t happening without a Section Access? Have you checked if this users have token allocated?

Ricardo Gerhard
OEM Solution Architect
LATAM
alessandro_mari
Partner - Contributor III
Partner - Contributor III
Author

Yeah, without SA i can open the App

agigliotti
Partner - Champion
Partner - Champion

could you send a printscreen with OSUser() in a sheet object without section access ?

alessandro_mari
Partner - Contributor III
Partner - Contributor III
Author

All fields are already been in uppercase

alessandro_mari
Partner - Contributor III
Partner - Contributor III
Author

Thanks to everibody, I solved the problem.

I used the wrong "DOMAIN"; I need to use the UserDiresctory instead