<?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: yet another question about acces section in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/yet-another-question-about-acces-section/m-p/964601#M13846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax is wrong. You need to remove the square brackets and change to upper case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD USERID, GROUPID ;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT "&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;User_ID"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; as USERID, &lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;"GroupID" as GROUPID&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "DB"."dbo"."role_user";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, you need to have a reducing field also - a field that links the table(s) in Section Access to the real data. Is this the GROUPID, or?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="https://community.qlik.com/qlik-blogpost/3745"&gt;A Primer on Section Access&lt;/A&gt;. This post is about QlikView and not Qlik Sense, but most things are the same. The only difference is really that NTNAME is replaced by USERID and GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2015 06:38:04 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2015-09-17T06:38:04Z</dc:date>
    <item>
      <title>yet another question about acces section</title>
      <link>https://community.qlik.com/t5/App-Development/yet-another-question-about-acces-section/m-p/964600#M13845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there !&lt;/P&gt;&lt;P&gt;I'm completely new to Qliksense and I'm quite confuse with the section access system (i, Qsense enterprise) .Here is my problem.&lt;/P&gt;&lt;P&gt;I have 4 SQL tables:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;UserTable:that lists the users in the field userID ("Mydomain\Account" )&lt;/LI&gt;&lt;LI&gt;DeptTable: that lists of the departments in the field GroupID ("dep1", "dep2"...)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;role_user:&lt;/SPAN&gt;&amp;nbsp; that makes the join between the previous two. One user may be in many departments.&lt;/LI&gt;&lt;LI&gt;dataTable with all the lines of datas that I want to restrict using&amp;nbsp; the user's department(s) in the field GroupID&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading the help, I guess I don't even have to bother with the first 2 tables. The &lt;SPAN style="font-size: 13.3333px;"&gt;role_user &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;should be enough to handle the security.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If I got it right, the section access should looks like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;section access;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO [myserver(myaccount)];&lt;/P&gt;&lt;P&gt;LOAD [USERID, GROUPID&lt;/P&gt;&lt;P&gt;SQL SELECT "&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;User_ID"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; , &lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;"GroupID"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM "DB"."dbo"."role_user"];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;section application;&lt;/P&gt;&lt;P&gt;LOAD... the dataTable that contains the data fields and the&amp;nbsp; GroupID field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And of course, It dosent work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone gives me a simple example of what need to be done ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 15:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/yet-another-question-about-acces-section/m-p/964600#M13845</guid>
      <dc:creator />
      <dc:date>2015-09-16T15:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: yet another question about acces section</title>
      <link>https://community.qlik.com/t5/App-Development/yet-another-question-about-acces-section/m-p/964601#M13846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax is wrong. You need to remove the square brackets and change to upper case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD USERID, GROUPID ;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT "&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;User_ID"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; as USERID, &lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;"GroupID" as GROUPID&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "DB"."dbo"."role_user";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, you need to have a reducing field also - a field that links the table(s) in Section Access to the real data. Is this the GROUPID, or?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="https://community.qlik.com/qlik-blogpost/3745"&gt;A Primer on Section Access&lt;/A&gt;. This post is about QlikView and not Qlik Sense, but most things are the same. The only difference is really that NTNAME is replaced by USERID and GROUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 06:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/yet-another-question-about-acces-section/m-p/964601#M13846</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-09-17T06:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: yet another question about acces section</title>
      <link>https://community.qlik.com/t5/App-Development/yet-another-question-about-acces-section/m-p/964602#M13847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your fast answer !&lt;/P&gt;&lt;P&gt;It is indeed GROUPID that I intended to use as the reducing field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will read your link carefully.&lt;/P&gt;&lt;P&gt;thanks again !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 07:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/yet-another-question-about-acces-section/m-p/964602#M13847</guid>
      <dc:creator />
      <dc:date>2015-09-17T07:02:47Z</dc:date>
    </item>
  </channel>
</rss>

