<?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: Section Access does not work with user groups in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420762#M695815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try double loading the NTNAME field and aliasing it as something else. Are you sure that user is not in a member of the admin group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 11:51:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-31T11:51:26Z</dc:date>
    <item>
      <title>Section Access does not work with user groups</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420758#M695810</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;&lt;/P&gt;&lt;P&gt;I'm trying to use section access but I don't manage to make it work. Every user group should have exactly one possible selection out of three. All other selections shall be hidden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I defined user groups on the server and added them in QMC &amp;gt; Users &amp;gt; Section Access Management like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;NTNAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Server42\Group1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Server42\Group2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Server42\Group3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Server42\AdminGroup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each group has several users, e.g.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Group 1: Bob, Alice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Group 2: John, Max&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Group 3: Ernie, Bert&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AdminGroup: Chuck, BOFH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user which is used to run the publish task in QMC has been added under &lt;EM&gt;Add users...&lt;/EM&gt; to give him admin rights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've added the following coding to my script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Section Access;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD ACCESS, NTNAME&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://Server42:4780/QMS/AuthTable"&gt;http://Server42:4780/QMS/AuthTable&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(html, utf8, embedded labels);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Section Application;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;STAR IS *;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NTNAME, Selection&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server42\Group1, Select_1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server42\Group2, Select_2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server42\Group3, Select_3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server42\AdminGroup, *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've activated Settings &amp;gt; Document Properties &amp;gt; Opening &amp;gt; Initial Data Reduction Based on Section Access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I choose &lt;EM&gt;Strict Exclusion &lt;/EM&gt;all users get the message that the file cannot be opened (obviously because it doesn't find a matching Selection), if I untick &lt;EM&gt;Strict Exclusion&lt;/EM&gt; we see all possible Selections.&lt;/P&gt;&lt;P&gt;I've created a table with NTNAME and Selection in QV and all the matches are shown like I want them. It seems that QV isn't able to link the user who opens the QV (in Web Access Point) with the group he belongs to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only other thing I do in the script is a binary load, which has to be in line 1 (otherwise it doesn't work).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone got an idea what I did wrong or is it just not possible to use user groups for section access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sabine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 14:08:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420758#M695810</guid>
      <dc:creator />
      <dc:date>2013-05-29T14:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access does not work with user groups</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420759#M695811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make NTname in upper &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Section Access;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD ACCESS, &lt;STRONG&gt;Upper(NTNAME) as &lt;SPAN style="color: #737373; font-family: 'courier new', courier; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;NTNAME&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM [&lt;A class="jive-link-external-small" href="http://server42:4780/QMS/AuthTable" style="color: #007fc0;"&gt;http://Server42:4780/QMS/AuthTable&lt;/A&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(html, utf8, embedded labels);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Section Application;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;STAR IS *;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Tab1:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NTNAME, Selection&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server42\Group1, Select_1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server42\Group2, Select_2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server42\Group3, Select_3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server42\AdminGroup, *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #737373; font-size: 12.727272033691406px; background-color: #ffffff; font-family: 'courier new', courier;"&gt;upper(NTNAME) as &lt;SPAN style="color: #737373; font-family: 'courier new', courier; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;NTNAME&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 12.727272033691406px; background-color: #ffffff; font-family: 'courier new', courier;"&gt;Selection,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 12.727272033691406px; background-color: #ffffff; font-family: 'courier new', courier;"&gt;1 as j&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 12.727272033691406px; background-color: #ffffff; font-family: 'courier new', courier;"&gt;resident &lt;SPAN style="color: #737373; font-family: 'courier new', courier; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;Tab1&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 12.727272033691406px; background-color: #ffffff; font-family: 'courier new', courier;"&gt;drop table &lt;SPAN style="color: #737373; font-family: 'courier new', courier; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;Tab1&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 12.727272033691406px; background-color: #ffffff; font-family: 'courier new', courier;"&gt;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 15:01:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420759#M695811</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-05-29T15:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access does not work with user groups</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420760#M695813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your quick response! It seems to help, as an admin I get now all Selections using &lt;EM&gt;Strict Exclusion &lt;/EM&gt;(previous no file access). I'll check with my Group users on friday if selection is restricted for them and I'll keep you informed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards &lt;/P&gt;&lt;P&gt;Sabine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 16:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420760#M695813</guid>
      <dc:creator />
      <dc:date>2013-05-29T16:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access does not work with user groups</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420761#M695814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked with one of my group users but unfortunately he still sees all selections. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Sabine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 11:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420761#M695814</guid>
      <dc:creator />
      <dc:date>2013-05-31T11:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access does not work with user groups</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420762#M695815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try double loading the NTNAME field and aliasing it as something else. Are you sure that user is not in a member of the admin group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 11:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420762#M695815</guid>
      <dc:creator />
      <dc:date>2013-05-31T11:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access does not work with user groups</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420763#M695816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes the user is definitely not an admin. I've tried several things and suddenly it worked. My code looks like this now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13700179305937674" jivemacro_uid="_13700179305937674"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;BR /&gt; LOAD Upper(ACCESS) as ACCESS, Upper(NTNAME) as NTNAME, REDUCTION FROM&lt;BR /&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://Server42:4780/QMS/AuthTable"&gt;http://Server42:4780/QMS/AuthTable&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt; (html, utf8, embedded labels);&lt;BR /&gt; &lt;BR /&gt; Section Application;&lt;BR /&gt; STAR IS *;&lt;BR /&gt; &lt;BR /&gt; [AuthTable]:&lt;BR /&gt; LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NTNAME, Selection&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVER42\GROUP_1, Select_1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVER42\GROUP_2, Select_2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVER42\GROUP_3. Select_3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVER42\ADMINGROUP, *&lt;BR /&gt; ];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Server I've set REDUCTION for field Selection for all USER.&lt;/P&gt;&lt;P&gt;It didn't work when I tried your coding Sunil but I guess you where right: with changing the Users in Section Application to upper case it started to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you both for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Sabine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 16:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-does-not-work-with-user-groups/m-p/420763#M695816</guid>
      <dc:creator />
      <dc:date>2013-05-31T16:37:03Z</dc:date>
    </item>
  </channel>
</rss>

