Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
QlikView Essentials

You're reading from   QlikView Essentials Want to solve your Business Intelligence headaches? Learn how QlikView can help, and discover a powerful yet accessible BI solution that lets you harness your data

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781784397289
Length 166 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Chandraish Sinha Chandraish Sinha
Author Profile Icon Chandraish Sinha
Chandraish Sinha
Arrow right icon
View More author details
Toc

Implementing Section Access


Save QlikViewEssentials_Presentation.qvw as QlikViewEssentials_Presentation_Secured.qvw. It is important to back up your original file just in case you forget the user ID and password:

  1. Open script editor and go to File | Create Hidden Script. Create a password for your hidden script. I used user123.

  2. Type the following script and load the script:

    Section Access;
    Load * Inline [
    ACCESS, USERID, PASSWORD
    ADMIN, ADMIN, ADMIN
    USER  U1,  U1
    USER  U2,  U2
    USER  U3,  U3
    ];
    Section Application;

    This will create a Section Access script using a Section Access keyword. This script is loading an Inline table with three columns ACCESS, USERID, and PASSWORD. You can use a database table or Excel file to load this info. This script creates four users. One user with Admin-level access and three with User-level access.

  3. To test your script, close your application and open it again. It will ask for a user ID and password. Give the user ID and password as mentioned in the previous script...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image