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

Security not working

Hi,

attached shows two tabs.  the first is the security and the second it the load.  The Security for Luis.Black is not working.

Any help appreciated please.

Regards,

Laura 

31 Replies
trdandamudi
Master II
Master II

In your Section Access, you have listed four fields but you  have five values ?

SectionAccess;
LOAD * INLINE[
ACCESS, NTNAME,NTDOMAINSID, NewState
USER,  NSYDNEY\luis.black,  XXXX, ,VIC
ADMIN, NSYDNEY\gen.rae,    XXXX,        ,*

Anonymous
Not applicable
Author

that was a typo...

SectionAccess;
LOAD * INLINE[
ACCESS, NTNAME,NTDOMAINSID, NewState
USER,  NSYDNEY\luis.black,  XXXX, ,VIC
ADMIN, NSYDNEY\gen.rae,     XXXX  ,*

trdandamudi
Master II
Master II

In your response you are still showing a extra blank field for the "User". So try the below and see.


SectionAccess;
LOAD * INLINE[
ACCESS,   NTNAME,               NTDOMAINSID, NewState
USER,     NSYDNEY\luis.black,      XXXX,      VIC
ADMIN,    NSYDNEY\gen.rae,         XXXX,       *


Anonymous
Not applicable
Author

still not working.

anything else I can check?

arulsettu
Master III
Master III

try this

SectionAccess:

LOAD Upper(NTNAME) as NTNAME  INLINE [

ACCESS,   NTNAME,               NTDOMAINSID, NewState

USER,     NSYDNEY\luis.black,      XXXX,      VIC

ADMIN,    NSYDNEY\gen.rae,         XXXX,       *

];

trdandamudi
Master II
Master II

Are you able to login as Admin ?

tresesco
MVP
MVP

Be careful about using the field values and filed names in upper case. Try like:

SectionAccess;
LOAD * INLINE[
ACCESS,   NTNAME,               NTDOMAINSID, NEWSTATE
USER,     NSYDNEY\luis.black,      XXXX,      VIC
ADMIN,    NSYDNEY\gen.rae,         XXXX,       *

};

...

WAU:

Load

      AccountNumber

      ,AccountName

      ,Upper(NewState) as NEWSTATE;

Anonymous
Not applicable
Author

Hi Tresesco,

I receive the following syntax error but cant see the mistake?:-

Syntax error, missing/misplaced FROM:

LOAD * INLINE[

Anonymous
Not applicable
Author

found syntax error