<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: restrict one country using section access in qlik sense for few users in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483060#M100985</link>
    <description>&lt;P&gt;Add a country field and then do -NZ for user1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;SECTION ACCESS;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID, PRODUCT, COUNTRY&lt;BR /&gt;ADMIN, INTERNAL\SA_SCHEDULER, *,&lt;BR /&gt;USER, User1, *, -NZ&lt;BR /&gt;USER, User2, PAK, *&lt;BR /&gt;USER, User3, IND, *&lt;BR /&gt;USER, User4, *, *&lt;BR /&gt;USER, User5, AUS, *&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;SECTION APPLICATION;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2024 18:21:27 GMT</pubDate>
    <dc:creator>David_Friend</dc:creator>
    <dc:date>2024-09-23T18:21:27Z</dc:date>
    <item>
      <title>restrict one country using section access in qlik sense for few users</title>
      <link>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483056#M100983</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;SECTION ACCESS;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS,USERID,COUNTRY&lt;BR /&gt;ADMIN,INTERNAL\SA_SCHEDULER,&lt;BR /&gt;USER,User1,&lt;BR /&gt;USER,User2,PAK&lt;BR /&gt;USER,User3,IND&lt;BR /&gt;USER,User4,&lt;BR /&gt;USER,User5,AUS&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Section Application;&lt;/P&gt;
&lt;P&gt;This code is working fine for all the users, but here User1 need to exclude NZ (New Zealand) country.&lt;/P&gt;
&lt;P&gt;User4 has to see all the countries including NZ.&lt;/P&gt;
&lt;P&gt;is there any way to restrict?&lt;/P&gt;
&lt;P&gt;Thanks in Advance!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 18:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483056#M100983</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2024-09-23T18:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: restrict one country using section access in qlik sense for few users</title>
      <link>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483060#M100985</link>
      <description>&lt;P&gt;Add a country field and then do -NZ for user1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;SECTION ACCESS;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID, PRODUCT, COUNTRY&lt;BR /&gt;ADMIN, INTERNAL\SA_SCHEDULER, *,&lt;BR /&gt;USER, User1, *, -NZ&lt;BR /&gt;USER, User2, PAK, *&lt;BR /&gt;USER, User3, IND, *&lt;BR /&gt;USER, User4, *, *&lt;BR /&gt;USER, User5, AUS, *&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;SECTION APPLICATION;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 18:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483060#M100985</guid>
      <dc:creator>David_Friend</dc:creator>
      <dc:date>2024-09-23T18:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: restrict one country using section access in qlik sense for few users</title>
      <link>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483451#M101043</link>
      <description>&lt;P&gt;Is there any way to restrict one country for specific users?&lt;/P&gt;
&lt;P&gt;Please let me know if it is possible or not?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 09:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483451#M101043</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2024-09-25T09:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: restrict one country using section access in qlik sense for few users</title>
      <link>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483494#M101050</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41280"&gt;@paulwalker&lt;/a&gt;&amp;nbsp;did you check your question using ChatGPT etc. SA can be pretty tricky, I am not an expert on it by any means!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 11:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483494#M101050</guid>
      <dc:creator>David_Friend</dc:creator>
      <dc:date>2024-09-25T11:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: restrict one country using section access in qlik sense for few users</title>
      <link>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483522#M101052</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41280"&gt;@paulwalker&lt;/a&gt;&amp;nbsp; easy way would be to create individual country record for user1 to get access to specific country excluding NZ. Make sure that all field values of all columns in section access are in upper case.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;SECTION ACCESS;

data:
LOAD * INLINE [
ACCESS,USERID,COUNTRY
ADMIN,INTERNAL\SA_SCHEDULER,
USER,User1,
USER,User2,PAK
USER,User3,IND
USER,User4,
USER,User5,AUS
USER,User6,NZ
];

Final:
NoConcatenate
Load *
Resident data
where USERID&amp;lt;&amp;gt;'User1';

Concatenate(Final)
Load distinct  ACCESS,
             'User1' as USERID,
             COUNTRY
Resident data
Where COUNTRY&amp;lt;&amp;gt;'NZ' and len(trim(COUNTRY))&amp;gt;0;

Drop Table data;

Section application;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 13:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/restrict-one-country-using-section-access-in-qlik-sense-for-few/m-p/2483522#M101052</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-09-25T13:32:55Z</dc:date>
    </item>
  </channel>
</rss>

