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: 
Not applicable

Sheet level security

Hi All,

I want to give sheet access to the perticular departments. I put the condition for displaying the sheet.

Its working fine when I open it in Developer edition.

When I acess through client machine, It is not working. It is displaying all sheets.

Can you please help me? Thanks in advance.

Regards,

Veman Reddy

4 Replies
prieper
Master II
Master II

Can you post your script and conditions?

boorgura
Specialist
Specialist

Not sure what conditions you have put-in.

I do use some conditional showing of sheets based on the Used ID's.

we have the function OSUser() which returns "Domain\UserID"

We can use a condition like this:

=if(only(if(UserID = OsUser(), UserID)) = OsUser(), 1 ,0)

Where UserID is the field I load from an excel files. (It has the list of User IDs who need access to the corresponding TAB)

Not applicable
Author


Thanks for your reply.

Please find the details of Script and sheet display condition below.

1. The script I am using is:

LOAD * INLINE [
NAME, SH01, SH02, SH03
AAA, 1, 0, 1
BBB, 0, 1, 0
SERVER, 1, 1, 1
];

Section Access;
LOAD * INLINE [
ACCESS, NTNAME, NTDOMAINSID, NAME
USER, INDAAA, S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX, AAA
USER, INDBBB, S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX, BBB
ADMIN, INDSERVER, S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX, SERVER
];
Section Application;


2. The condition that I am using for sheet display is SUM(SH01)>=1 and SUM(SH02)>=1 and so on


Not applicable
Author


Thanks for your reply.

Please find the details of Script and sheet display condition below.

1. The script I am using is:

LOAD * INLINE [
NAME, SH01, SH02, SH03
AAA, 1, 0, 1
BBB, 0, 1, 0
SERVER, 1, 1, 1
];

Section Access;
LOAD * INLINE [
ACCESS, NTNAME, NTDOMAINSID, NAME
USER, INDAAA, S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX, AAA
USER, INDBBB, S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX, BBB
ADMIN, INDSERVER, S-1-5-21-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX, SERVER
];
Section Application;


2. The condition that I am using for sheet display is SUM(SH01)>=1 and SUM(SH02)>=1 and so on