Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

sheet security access

Hi everyone,

I am trying to limit sheet access to a selection of users. I already have an permissions tab in the script to enable access to the complete document.

In sheet properties I was trying to use this in conditional : qvuser() = username

I thought this worked but when it went to the server it did not seem to do so.

Can anyone shed some light on this?

Thanks for the help

bc

4 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

If you already have Section Access, you can link your users to an additional "Group" field and then condition the tabes based on the Group. See example in the Chapter 30.8 in the Reference Manual

Oleg

Not applicable
Author

QVUser can work.

My section access is based on OSUser, so my conditional sheet access formula is:

IF(OSUser( ) = 'Username', 1, 0)

The problem with this solution that if you have more than 1 user you want to show the sheet to, you have to nest an 'if' statement for all of them. I have 4 people I want to show all sheets to, and even this was cumbersome to set up.

I am going to try the other suggested solution first.

Not applicable
Author

Try with:

UPPER(MATCH(qvuser(),'USER1','USER2','USER3'))

Tchau

Not applicable
Author

Hi

Please find the attachment. Hope it helps you lot