Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Authorise objects for admin users

In Qlikview i have several objects that only admin users may see. At the layout tab (of an object) you have a conditional function. But what do i need to type there to authorise only Admin users?

p.s.: in section access i have the roles admin and user.

5 Replies
amit_saini
Master III
Master III

Hi Chiel,

Please find the attachment where you can find how to create restriction through section point.

Use password as :  admin

Thanks,

AS

Not applicable
Author

Thank you so much for the quick answer! At this moment i have personal edition, so i can't open the file. Can you copy paste it here?

Again, thank you for the help!

amit_saini
Master III
Master III

Hi Chiel,

I'm sharing script:

SECTION Access;

LOAD * Inline

[UserID, Password

u1,1

u2,2

admin,admin];

SECTION Application;

Data:

LOAD * Inline

[Region, Sales

A,10

B,20

C,15

D,30];

Previledges:

LOAD * Inline

[UserID, ViewObject

u1,CH01

u2,CH02

admin,CH01

admin,CH02];

Here CH01 & CH02 are my two objects , similarly you can define at your end.

Thanks,

AS

Not applicable
Author

If you want to do it using Layout tab, conditional option then you can try the following in Conditional box:

=GetFieldSelections([Your Field name]) = 'ADMIN'

mangalsk
Creator III
Creator III

Hello,

In condition write QVUSER()='ADMIN'

ADMIN should be in caps only