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: 
kbautist
Contributor II
Contributor II

osuer() - restriction view

Hello everyone!

I have a request from one of the key users to have one of the sheets restricted to only two users. I've read that in can be done with a code on the data load editor but I haven't figured it out yet.

Does anyone know how to do it and what to write in the data load editor and in the sheets condition?

Thank you!

Labels (3)
1 Solution

Accepted Solutions
MayilVahanan

Hi

Try like below

=if(OSUser() = 'domain\userid', 1, 0)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

1 Reply
MayilVahanan

Hi

Try like below

=if(OSUser() = 'domain\userid', 1, 0)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.