Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi,
I want to use section access in my application. I want that a particular user cannot see some object and some particular user will not see some data. How how can I implement this in QlikView?
I have 'CountryID' field and I want that when SANDIP will logged in he can see 1 and when admin logged in he will see all the listed values.
For data reduction I have used the following script:-
Section Access;
LOAD * INLINE [
ACCESS, USERID, PASSWORD, %CountryID
ADMIN, ADMIN, ADMIN123, *
USER, SANDIP, SANDIP123, 1
];
Section Application;
LOAD * INLINE [
%CountryID, CountryID
1, 1
2, 2
3, 3
];
But for both user I am viewing all the countryid in the list box.
Thanks,
Sandip Ghosh
Message was edited by: Sandip Ghosh
See Sheet level access and Section Access and Sheet Permissions. You can use the same technique for other objects like charts.
Hi Sandip,
Please go through this thread: Section Access OsUser() different to Ntname
Hi
For examples 3 users are A,B,C now user A and User B will see the data and User C will not able to see the data for that purpoes we have to provide the section access,and section application.
section access--building the the security for data
setion application-allowing the user what to see and what not to see..
section access:
access userid,password
admin,admin,admin
user,user1,user2
user,user2,user2
section application
userid,omit
admin,"*"
user1,'A'
user2 'B'
using this will able to see the A and B users only.
Seems like the focus of your post has shifted with your last edit.
Maybe this will help you to implement section access with data reduction:
Introduction to Section Access
I believe %CountryID field name must be upper case to work: %COUNTRYID, also note that star symbol means 'all listed values' (with section access), not all possible values of that field. If you want ADMIN to see everything, remove the star from %COUNTRYID field in section access.
You give me very wrong answer. section access section hold the OMIT field and section application does not hold it.
Thanks,
Sandip
Hi,
I have used the below script:
Section Access;
LOAD * INLINE [
ACCESS, USERID, PASSWORD
ADMIN, ADMIN, ADMIN123,
USER, SANDIP, SANDIP123,
USER, SANDIP123, SANDIP123
];
Section Application;
LOAD * INLINE [
CountryID, USERID
1, ADMIN
2, ADMIN
2, SANDIP
3, SANDIP123
];
instead of using capital %COUNTRYID, in section access I have used CountryID, USERID fields in application section. and it works. But whenever I have put the * instead of mentioning the COuntryId value, in list box * is appearing.
Any solution of it?
Hi,
I have used the below script:
Section Access;
LOAD * INLINE [
ACCESS, USERID, PASSWORD
ADMIN, ADMIN, ADMIN123,
USER, SANDIP, SANDIP123,
USER, SANDIP123, SANDIP123
];
Section Application;
LOAD * INLINE [
CountryID, USERID
1, ADMIN
2, ADMIN
2, SANDIP
3, SANDIP123
];
instead of using capital %COUNTRYID, in section access I have used CountryID, USERID fields in application section. and it works. But whenever I have put the * instead of mentioning the COuntryId value, in list box * is appearing.
Any solution of it?
You are using the star symbol in field CountryID in section application?
I believe there is no special meaning for that symbol in that section, it's just a field value.
Then how can I make use of showing all values to admin using one shot?