<?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 Select Access with reduction not working for Admin in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-Access-with-reduction-not-working-for-Admin/m-p/460508#M171923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a problem getting the Select Access to work properly.&amp;nbsp; That being said it is but will not load for either myself, or as the QV service account when using the enterprise console to perform a load, load fails.&amp;nbsp;&amp;nbsp; On the presentation server I get asked for the application to load it askes for my login and password.&amp;nbsp; I am set as admin and can open it under the developer.&amp;nbsp; Below is the code I use to secure the application.&amp;nbsp; Note that the reduction is working on the server it is just the admin's that can not get access.&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt; &lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ROOTDSE = 'DC=HCM,DC=AM,DC=MDS,DC=HONDA,DC=COM';&amp;nbsp; &lt;/P&gt;&lt;P&gt;CONNECT TO [PROVIDER=ADSDSOOBJECT;ENCRYPT PASSWORD=FALSE;INTEGRATED SECURITY=SSPI;LOCATION=*******;MODE=READ;BIND FLAGS=0;ADSI FLAG=-2147483648];&lt;/P&gt;&lt;P&gt;LET ARG=CHR(01); // SET SEARCH START NAME TO A VERY LOW VALUE&lt;BR /&gt;DO &lt;/P&gt;&lt;P&gt;USERTABLE:&lt;BR /&gt; LOAD &lt;BR /&gt;&amp;nbsp; 'HCM\' &amp;amp; NAME AS NTNAME,&lt;BR /&gt;&amp;nbsp; LEFT(DEPARTMENT,2) AS HCM_DEPT&lt;BR /&gt; ;&lt;BR /&gt; SQL SELECT &lt;BR /&gt;&amp;nbsp; NAME, DEPARTMENT&amp;nbsp; // FIELDS TO SELECT &lt;BR /&gt; FROM 'LDAP://OU=USERS,OU=****,DC=****,DC=****,DC=****,DC=****,DC=COM';&lt;/P&gt;&lt;P&gt;SECURITY:&lt;BR /&gt;LEFT KEEP (GroupLeaders)&lt;BR /&gt;LOAD&lt;BR /&gt;NTNAME,&lt;BR /&gt;HCM_DEPT&lt;BR /&gt;RESIDENT USERTABLE;&lt;/P&gt;&lt;P&gt;DROP TABLE USERTABLE;&lt;/P&gt;&lt;P&gt;SECTION ACCESS;&lt;BR /&gt;STAR IS *;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt; 'USER'&amp;nbsp;&amp;nbsp;&amp;nbsp; AS [ACCESS]&lt;BR /&gt; ,NTNAME&amp;nbsp;&amp;nbsp; AS NTNAME&lt;BR /&gt; ,HCM_DEPT&lt;BR /&gt;RESIDENT SECURITY;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, NTNAME, HCM_DEPT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, HCM\IS06109,*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, HCM\VEC16069,*&lt;BR /&gt; ADMIN, HCM\hcm_svc_qlikviewv9,*&lt;BR /&gt; ADMIN, HCM\ISTMP03,*&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt; ACCESS,&lt;BR /&gt; NTNAME,&lt;BR /&gt; REDUCTION&lt;BR /&gt;;&lt;BR /&gt;SELECT &lt;BR /&gt; ACCESS,&lt;BR /&gt; NTNAME,&lt;BR /&gt; REDUCTION&lt;BR /&gt;FROM&lt;BR /&gt; QVDB.DBO.QLIKVIEWACCESS;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SECTION APPLICATION;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 20:17:07 GMT</pubDate>
    <dc:creator>robert_young_hc</dc:creator>
    <dc:date>2013-02-21T20:17:07Z</dc:date>
    <item>
      <title>Select Access with reduction not working for Admin</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Access-with-reduction-not-working-for-Admin/m-p/460508#M171923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a problem getting the Select Access to work properly.&amp;nbsp; That being said it is but will not load for either myself, or as the QV service account when using the enterprise console to perform a load, load fails.&amp;nbsp;&amp;nbsp; On the presentation server I get asked for the application to load it askes for my login and password.&amp;nbsp; I am set as admin and can open it under the developer.&amp;nbsp; Below is the code I use to secure the application.&amp;nbsp; Note that the reduction is working on the server it is just the admin's that can not get access.&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt; &lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ROOTDSE = 'DC=HCM,DC=AM,DC=MDS,DC=HONDA,DC=COM';&amp;nbsp; &lt;/P&gt;&lt;P&gt;CONNECT TO [PROVIDER=ADSDSOOBJECT;ENCRYPT PASSWORD=FALSE;INTEGRATED SECURITY=SSPI;LOCATION=*******;MODE=READ;BIND FLAGS=0;ADSI FLAG=-2147483648];&lt;/P&gt;&lt;P&gt;LET ARG=CHR(01); // SET SEARCH START NAME TO A VERY LOW VALUE&lt;BR /&gt;DO &lt;/P&gt;&lt;P&gt;USERTABLE:&lt;BR /&gt; LOAD &lt;BR /&gt;&amp;nbsp; 'HCM\' &amp;amp; NAME AS NTNAME,&lt;BR /&gt;&amp;nbsp; LEFT(DEPARTMENT,2) AS HCM_DEPT&lt;BR /&gt; ;&lt;BR /&gt; SQL SELECT &lt;BR /&gt;&amp;nbsp; NAME, DEPARTMENT&amp;nbsp; // FIELDS TO SELECT &lt;BR /&gt; FROM 'LDAP://OU=USERS,OU=****,DC=****,DC=****,DC=****,DC=****,DC=COM';&lt;/P&gt;&lt;P&gt;SECURITY:&lt;BR /&gt;LEFT KEEP (GroupLeaders)&lt;BR /&gt;LOAD&lt;BR /&gt;NTNAME,&lt;BR /&gt;HCM_DEPT&lt;BR /&gt;RESIDENT USERTABLE;&lt;/P&gt;&lt;P&gt;DROP TABLE USERTABLE;&lt;/P&gt;&lt;P&gt;SECTION ACCESS;&lt;BR /&gt;STAR IS *;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt; 'USER'&amp;nbsp;&amp;nbsp;&amp;nbsp; AS [ACCESS]&lt;BR /&gt; ,NTNAME&amp;nbsp;&amp;nbsp; AS NTNAME&lt;BR /&gt; ,HCM_DEPT&lt;BR /&gt;RESIDENT SECURITY;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, NTNAME, HCM_DEPT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, HCM\IS06109,*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, HCM\VEC16069,*&lt;BR /&gt; ADMIN, HCM\hcm_svc_qlikviewv9,*&lt;BR /&gt; ADMIN, HCM\ISTMP03,*&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt; ACCESS,&lt;BR /&gt; NTNAME,&lt;BR /&gt; REDUCTION&lt;BR /&gt;;&lt;BR /&gt;SELECT &lt;BR /&gt; ACCESS,&lt;BR /&gt; NTNAME,&lt;BR /&gt; REDUCTION&lt;BR /&gt;FROM&lt;BR /&gt; QVDB.DBO.QLIKVIEWACCESS;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SECTION APPLICATION;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 20:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Access-with-reduction-not-working-for-Admin/m-p/460508#M171923</guid>
      <dc:creator>robert_young_hc</dc:creator>
      <dc:date>2013-02-21T20:17:07Z</dc:date>
    </item>
  </channel>
</rss>

