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: 
brijesh1991
Partner - Specialist
Partner - Specialist

Export Excel

Hi All,

I have 3000 users. I wanted to give export to excel and print functionality to 2995 users, but rest 5 should not be able to catch this funtionality.

How can I disable right click for this 5 users?

Best Regards,

Brijesh

3 Replies
Not applicable

From QMC

paulyeo11
Master
Master

I think access control should do the job , but i not sure how to achieve this .

marcus_sommer

You could try it with macros which will triggered by OnChangeVariable:

var = if(match(OsUser(), 'a', 'b',...), 0, 1)

See in APIGide.qvw for examples like this:

temp=ActiveDocument.GetProperties

temp.UserPermissions.AllowPrintAnyway = false

ActiveDocument.SetProperties temp

temp=ActiveDocument.GetProperties.UserPermissions.AllowExport

if temp then msgbox("Export allowed")

- Marcus