<?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: Username Security - Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Username-Security-Help/m-p/412362#M153509</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;If you are using OSUser() you must use the NTNAME instead. Besides, you will need to add the ACCESS field, with values of ADMIN or USER depending on the account. Check &lt;A _jive_internal="true" href="https://community.qlik.com/thread/38492?start=0&amp;amp;tstart=0"&gt;this thread&lt;/A&gt; among others on how to build a section access using NTNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2012 10:28:20 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2012-09-17T10:28:20Z</dc:date>
    <item>
      <title>Username Security - Help</title>
      <link>https://community.qlik.com/t5/QlikView/Username-Security-Help/m-p/412361#M153508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently trying to add better security into my applications by using the username of the user with: -&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OSuser()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a very simple inline load with username and access which is then mapped on to the main table against OSuser().&amp;nbsp;&amp;nbsp; I then use a 'Where' statement based on the access to either keep or drop the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ACCESS:&lt;/P&gt;&lt;P&gt;LOAD * INLINE&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;User,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Access&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;USER\joe.bloggs, 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;accessmap:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;/P&gt;&lt;P&gt;User,&lt;/P&gt;&lt;P&gt;Access&lt;/P&gt;&lt;P&gt;RESIDENT ACCESS;&lt;/P&gt;&lt;P&gt;DROP TABLE ACCESS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAIN:&lt;/P&gt;&lt;P&gt;a,&lt;/P&gt;&lt;P&gt;b,&lt;/P&gt;&lt;P&gt;c,&lt;/P&gt;&lt;P&gt;OSUSER() as User&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAIN2:&lt;/P&gt;&lt;P&gt;a as a1,&lt;/P&gt;&lt;P&gt;b,&lt;/P&gt;&lt;P&gt;c,&lt;/P&gt;&lt;P&gt;User&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESIDENT MIAN&lt;/P&gt;&lt;P&gt;WHERE applymap('accessmap', User) = 1;&lt;/P&gt;&lt;P&gt;DROP TABLE MAIN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;The only problem with this is that the application needs to reload automatically each time it is opened......is this possible? and if so how can you do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failing that is there a better way to add security based upon OSuser()??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 10:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Username-Security-Help/m-p/412361#M153508</guid>
      <dc:creator />
      <dc:date>2012-09-17T10:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Username Security - Help</title>
      <link>https://community.qlik.com/t5/QlikView/Username-Security-Help/m-p/412362#M153509</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;If you are using OSUser() you must use the NTNAME instead. Besides, you will need to add the ACCESS field, with values of ADMIN or USER depending on the account. Check &lt;A _jive_internal="true" href="https://community.qlik.com/thread/38492?start=0&amp;amp;tstart=0"&gt;this thread&lt;/A&gt; among others on how to build a section access using NTNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 10:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Username-Security-Help/m-p/412362#M153509</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-09-17T10:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Username Security - Help</title>
      <link>https://community.qlik.com/t5/QlikView/Username-Security-Help/m-p/412363#M153510</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the below link to learn about implementing security in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/docs/DOC-1853"&gt;http://community.qlik.com/docs/DOC-1853&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 10:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Username-Security-Help/m-p/412363#M153510</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2012-09-17T10:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Username Security - Help</title>
      <link>https://community.qlik.com/t5/QlikView/Username-Security-Help/m-p/412364#M153511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to you both for the swift reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 10:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Username-Security-Help/m-p/412364#M153511</guid>
      <dc:creator />
      <dc:date>2012-09-17T10:35:32Z</dc:date>
    </item>
  </channel>
</rss>

