Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to load NT users from SQL Server DB to grant access?

Hello, is it possible to load 'user' and 'access' data directly from a SQL Server database to compair with the actual NT User logged and grand access to my QlikView file?

Thank you in advance.

2 Replies
Anonymous
Not applicable
Author

Sure, it sounds like you want to populate your section access with data from a SQL Server database?

That's fine, section access lets you load data from any source, just like normal QlikView table structures.

Not applicable
Author

great, can you help me with an example please?

I have some code but I would prefer to work with a clear and simple example if it is possible.

Section_Access:
LOAD Distinct
Upper(ACCESS ) as ACCESS
,
upper(NTNAME ) as NTNAME


Concatenate (Section_Access)
LOAD * INLINE [   
      ACCESS, NTNAME
      ADMIN, AMERICAS\$qlikviewitg001
      ADMIN, AMERICAS\$qlikviewpro001   
]
;

SECTION Application ;

thank you for your attention.