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

section access probelm in access point

hi

i have qlik view server

i want to create document that each user can see related tab

i have a table that contain my domain users and related tab like below

User_IDSAMAccountFullNameaccess
729MD1\o.ebrahimia
733MD1\qlikviewa,b,c
734MD1\a.ghaffarib

i create my section access script like below:

section Access;

LOAD 'ADMIN' AS ACCESS,

     upper(SAMAccountFullName) as NTNAME;

SQL SELECT *

FROM Users;

section Application;

SELECT ucase(Users.SAMAccountFullName) AS NTNAME,

access

FROM Users ;

and i set this option like below:

omid.PNG

in this sample md1\o.ebrahimi just can see  tab 1 and md1\qlikview can see 1,2,3

with this setting in desktop mode i have no problem but in server it dose not work

12 Replies
vinieme12
Champion III
Champion III

create a text file with the section access script and import the same file within each app..

IF you don't want to do section access on script then work this out in QMC

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
omid5ive
Creator II
Creator II
Author

i created my section access like your explain
but i have another problem

i can just login with user that have maximum of access. when i login with another user it will direct me to login page

omid5ive
Creator II
Creator II
Author

finally i find the solution

i changed my section access like blow:

section Access;

LOAD

    'ADMIN' as ACCESS,

    Upper('Md1\'&SAMAccountFullName) as NTNAME,

    if (SubStringCount(SAMAccountFullName,'qlikview')=0,User_ID,'*') as REDUCTION_KEY;

SQL SELECT *

FROM Users;

notice:
qlickview user is a user that qlikview server service is run with it