<?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 User Access : How to detect admin users ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208865#M64070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using the QlikView security in a qvw file.&lt;/P&gt;&lt;P&gt;I would like to know if there is a simple way to detect if a user is an admin, that is to say if the ACCESS field in the section access part is equal to 'ADMIN'. I have a little problem because that table is hidden.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2010 11:10:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-12T11:10:46Z</dc:date>
    <item>
      <title>User Access : How to detect admin users ?</title>
      <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208865#M64070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using the QlikView security in a qvw file.&lt;/P&gt;&lt;P&gt;I would like to know if there is a simple way to detect if a user is an admin, that is to say if the ACCESS field in the section access part is equal to 'ADMIN'. I have a little problem because that table is hidden.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 11:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208865#M64070</guid>
      <dc:creator />
      <dc:date>2010-01-12T11:10:46Z</dc:date>
    </item>
    <item>
      <title>User Access : How to detect admin users ?</title>
      <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208866#M64071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a text object and inside the text you copy the below script&lt;/P&gt;&lt;P&gt;=QVuser( )&lt;/P&gt;&lt;P&gt;but this will tell which user has logged in to the document!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 11:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208866#M64071</guid>
      <dc:creator />
      <dc:date>2010-01-12T11:58:13Z</dc:date>
    </item>
    <item>
      <title>User Access : How to detect admin users ?</title>
      <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208867#M64072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer,&lt;/P&gt;&lt;P&gt;but that's not exactly what I'm looking for : the QVuser() function will show me the USERID field value (name of the QVUser) but not the ACCESS one (ADMIN/USER).&lt;BR /&gt;&lt;BR /&gt;Do you have another idea ?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 12:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208867#M64072</guid>
      <dc:creator />
      <dc:date>2010-01-12T12:07:03Z</dc:date>
    </item>
    <item>
      <title>User Access : How to detect admin users ?</title>
      <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208868#M64073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No idea at all ?&lt;/P&gt;&lt;P&gt;I thought that point was an common one ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2010 14:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208868#M64073</guid>
      <dc:creator />
      <dc:date>2010-01-14T14:38:25Z</dc:date>
    </item>
    <item>
      <title>User Access : How to detect admin users ?</title>
      <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208869#M64074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bertrand!&lt;/P&gt;&lt;P&gt;Have you got any solution? If yes please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 08:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208869#M64074</guid>
      <dc:creator />
      <dc:date>2010-01-22T08:52:58Z</dc:date>
    </item>
    <item>
      <title>User Access : How to detect admin users ?</title>
      <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208870#M64075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have my security set up a little differently, it works like this:&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; ACCESS, USERID, PASSWORD, DEPT;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;SELECT&lt;/B&gt; *&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;FROM&lt;/B&gt; "sqltable1;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;section&lt;/B&gt; application;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;star&lt;/B&gt; &lt;B&gt;is&lt;/B&gt; *;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;ODBC&lt;/B&gt; &lt;B&gt;CONNECT&lt;/B&gt; &lt;B&gt;TO&lt;/B&gt; SQl;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; DEPT, "ControlField";&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;SELECT&lt;/B&gt; *&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;FROM&lt;/B&gt; "Sqltable2;&lt;/P&gt;&lt;P&gt;This is a little different to what you were looking for but might help, what this means is that the system identifies users based on a set list, then depending on their department limits them to the set of data they can view.&lt;/P&gt;&lt;P&gt;Maybe this will help?&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 11:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208870#M64075</guid>
      <dc:creator />
      <dc:date>2010-01-22T11:09:14Z</dc:date>
    </item>
    <item>
      <title>User Access : How to detect admin users ?</title>
      <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208871#M64076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In fact I've manage to do it using the line data reduction :&lt;/P&gt;&lt;P&gt;In the security table where I've the ACCESS field, I add an additional calculated field : FLAG_ADMIN : (if(ACCESS='ADMIN',1,0)) as FLAG_ADMIN,&lt;/P&gt;&lt;P&gt;Then in section Application I add a little table :&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt; FLAG_ADMIN&lt;BR /&gt; 1&lt;BR /&gt; 0&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;And last I open "Settings" / "Documents Properties" / "Opening Tab" and I check the option "Initial Data Reduction based on Section Access"&lt;/P&gt;&lt;P&gt;then, in my document, to know if my user is an admin I can use that field : if(FLAG_ADMIN ....&lt;/P&gt;&lt;P&gt;(Note : if a user is both USER and ADMIN you should use max(FLAG_ADMIN) instead&lt;/P&gt;&lt;P&gt;I also made an improvement request to QlikTech&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2010 16:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208871#M64076</guid>
      <dc:creator />
      <dc:date>2010-02-08T16:18:42Z</dc:date>
    </item>
    <item>
      <title>User Access : How to detect admin users ?</title>
      <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208872#M64077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you send an example from you you SQL-Table with Access-Fields or a quick QV-Dokument?&lt;/P&gt;&lt;P&gt;I don't see exatly how do you manage it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to restrict each user to specific departments.&lt;/P&gt;&lt;P&gt;Each salesman can only see his departments&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;Bumin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2011 16:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/208872#M64077</guid>
      <dc:creator>bumin</dc:creator>
      <dc:date>2011-05-29T16:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: User Access : How to detect admin users ?</title>
      <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/1647523#M447607</link>
      <description>&lt;P&gt;&amp;nbsp;I tried this approach but it didnt worked.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 14:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/1647523#M447607</guid>
      <dc:creator>kusha_2007</dc:creator>
      <dc:date>2019-11-15T14:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: User Access : How to detect admin users ?</title>
      <link>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/1647533#M447608</link>
      <description>&lt;P&gt;Hello All ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tired to use this approach to hide a particular tab for users but with this settings , the Qlikview file doesnt open in&amp;nbsp; Access Point. I t opens in the desktop though .&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kusha Agrawal&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 14:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-Access-How-to-detect-admin-users/m-p/1647533#M447608</guid>
      <dc:creator>kusha_2007</dc:creator>
      <dc:date>2019-11-15T14:57:03Z</dc:date>
    </item>
  </channel>
</rss>

