If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
Hello,
I have 20 users and I need to test this thing
I need to give access based to a Region field , for example i have 3 uses X,Y,Z
X can access to region America
Y can access for all regions
Z can access to region Asia
Other users can access to all regions
How to do it (i can use a file contain all users id )
Thanks
SECTION ACCESS; //The table below could be populated from a list of users instead of my inline table. SA: LOAD * inline [ ACCESS,USERID, REGION ADMIN, INTERNAL\SA_SCHEDULER
USER, DOMAIN\X, AMERICAS USER, DOMAIN\Y, * USER, DOMAIN\Z, ASIA USER, DOMAIN\USER1, * [repead all the way down to your las user] USER, DOMAIN\USER20, * ]; //List all REGIONS to ensure the star * to function as intended. REGIONS: LOAD
REGION FROM
LIB:\\DATA\ListOfAllRegions.qvd (qvd); SECTION APPLICATION; //Your regular Load script. //Make sure you have a field called REGION in the datamodel where all values are in UPPER CASE. LOAD ...
SECTION ACCESS; //The table below could be populated from a list of users instead of my inline table. SA: LOAD * inline [ ACCESS,USERID, REGION ADMIN, INTERNAL\SA_SCHEDULER
USER, DOMAIN\X, AMERICAS USER, DOMAIN\Y, * USER, DOMAIN\Z, ASIA USER, DOMAIN\USER1, * [repead all the way down to your las user] USER, DOMAIN\USER20, * ]; //List all REGIONS to ensure the star * to function as intended. REGIONS: LOAD
REGION FROM
LIB:\\DATA\ListOfAllRegions.qvd (qvd); SECTION APPLICATION; //Your regular Load script. //Make sure you have a field called REGION in the datamodel where all values are in UPPER CASE. LOAD ...
I do like this for the first time it doesn't work because we need to publish the application to test 🙂
//List all REGIONS to ensure the star * to function as intended. REGIONS: LOAD
REGION FROM
LIB:\\DATA\ListOfAllRegions.qvd (qvd);
(you don't need this )
Hi Everyone
Really great post, most appreciated.
Ebiexperts a Qlik Technology partner has launched an automated Section Access product to the market.
The product is called SAM: Section Access Manager for Qlik
This is the MVP release and fully automated. I have attached the brochure.
Regards
JP