<?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 Section Access with a custom userid (NOT OSUser) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-Access-with-a-custom-userid-NOT-OSUser/m-p/35004#M1249411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A custom application has a button "my Dashboard"&lt;/P&gt;&lt;P&gt;The button has a link &lt;A href="http://localhost/QvAJAXZfc/opendoc.htm?document=ap_dev%5Cdpp_preprod.qvw&amp;amp;host=QVS%40svrocmdcdppbi01" title="http://localhost/QvAJAXZfc/opendoc.htm?document=ap_dev%5Cdpp_preprod.qvw&amp;amp;host=QVS%40svrocmdcdppbi01" target="_blank"&gt;http://localhost/QvAJAXZfc/opendoc.htm?document=ap_dev%5Cdpp_preprod.qvw&amp;amp;host=QVS%40svrocmdc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the kicker - the link above contains a qvw - but now the user wants to add a userid which differs from the windows os user name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to user section access to have the following&lt;/P&gt;&lt;P&gt;1. User wants to login only once when they access the custom application&lt;/P&gt;&lt;P&gt;the user does not want to login again in Qlik - kind of single sign on&lt;/P&gt;&lt;P&gt;2. Section access information lives in the database, not inline as follows&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Section&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Access&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INLINE&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[&lt;BR /&gt; USERID,&amp;nbsp;&amp;nbsp; ACCESS, NTNAME&amp;nbsp;&amp;nbsp; ,GROUPNAME, REGION,AGENT_ID&lt;BR /&gt; &lt;BR /&gt; *,&amp;nbsp;&amp;nbsp; ADMIN, 'DPSCSDOM\qlikviewsrc',*,*,* &lt;BR /&gt; *,&amp;nbsp;&amp;nbsp; ADMIN, 'DPSCSDOM\ITCD_Admin',*,*,* &lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;USERID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ACCESS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;NTNAME&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;GROUPNAME&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;REGION_SEC&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;AGENT_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;select&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; '*' AS USERID, '*' AS PASSWORD,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"ACCESS"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ,RANK , NTNAME&amp;nbsp; ,RTRIM(LTRIM(UPPER(CONCAT(NTNAME,RANK)))) ,&lt;BR /&gt; GROUPNAME, case when groupname in('CENTRAL ADMINISTRATION'&amp;nbsp; ) then 'ANY'&lt;BR /&gt; WHEN GROUPNAME= 'REGION' THEN CONCAT(CONCAT(REGION,'|'),'ANY') END AS REGION_SEC ,&lt;BR /&gt; CASE WHEN GROUPNAME IN ( 'DPP CASE SUPERVISOR'&amp;nbsp;&amp;nbsp; ) THEN SUPERVISOR_ID ELSE USERID END AS AGENT_ID &lt;BR /&gt; from QLIKVIEW.VW_QV_DPP_SECURITY_ROLES&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; WHERE RTRIM(LTRIM(UPPER(CONCAT(NTNAME,RANK)))) IN(&lt;BR /&gt; SELECT RTRIM(LTRIM(UPPER(CONCAT(NTNAME,MIN(RANK))))) MINRANK FROM QLIKVIEW.VW_QV_DPP_SECURITY_ROLES&lt;BR /&gt; GROUP BY NTNAME);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Rick&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>rarora12</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Section Access with a custom userid (NOT OSUser)</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-with-a-custom-userid-NOT-OSUser/m-p/35004#M1249411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A custom application has a button "my Dashboard"&lt;/P&gt;&lt;P&gt;The button has a link &lt;A href="http://localhost/QvAJAXZfc/opendoc.htm?document=ap_dev%5Cdpp_preprod.qvw&amp;amp;host=QVS%40svrocmdcdppbi01" title="http://localhost/QvAJAXZfc/opendoc.htm?document=ap_dev%5Cdpp_preprod.qvw&amp;amp;host=QVS%40svrocmdcdppbi01" target="_blank"&gt;http://localhost/QvAJAXZfc/opendoc.htm?document=ap_dev%5Cdpp_preprod.qvw&amp;amp;host=QVS%40svrocmdc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the kicker - the link above contains a qvw - but now the user wants to add a userid which differs from the windows os user name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to user section access to have the following&lt;/P&gt;&lt;P&gt;1. User wants to login only once when they access the custom application&lt;/P&gt;&lt;P&gt;the user does not want to login again in Qlik - kind of single sign on&lt;/P&gt;&lt;P&gt;2. Section access information lives in the database, not inline as follows&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Section&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Access&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INLINE&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[&lt;BR /&gt; USERID,&amp;nbsp;&amp;nbsp; ACCESS, NTNAME&amp;nbsp;&amp;nbsp; ,GROUPNAME, REGION,AGENT_ID&lt;BR /&gt; &lt;BR /&gt; *,&amp;nbsp;&amp;nbsp; ADMIN, 'DPSCSDOM\qlikviewsrc',*,*,* &lt;BR /&gt; *,&amp;nbsp;&amp;nbsp; ADMIN, 'DPSCSDOM\ITCD_Admin',*,*,* &lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;USERID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;ACCESS&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;NTNAME&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;GROUPNAME&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;REGION_SEC&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;AGENT_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;select&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; '*' AS USERID, '*' AS PASSWORD,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"ACCESS"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ,RANK , NTNAME&amp;nbsp; ,RTRIM(LTRIM(UPPER(CONCAT(NTNAME,RANK)))) ,&lt;BR /&gt; GROUPNAME, case when groupname in('CENTRAL ADMINISTRATION'&amp;nbsp; ) then 'ANY'&lt;BR /&gt; WHEN GROUPNAME= 'REGION' THEN CONCAT(CONCAT(REGION,'|'),'ANY') END AS REGION_SEC ,&lt;BR /&gt; CASE WHEN GROUPNAME IN ( 'DPP CASE SUPERVISOR'&amp;nbsp;&amp;nbsp; ) THEN SUPERVISOR_ID ELSE USERID END AS AGENT_ID &lt;BR /&gt; from QLIKVIEW.VW_QV_DPP_SECURITY_ROLES&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; WHERE RTRIM(LTRIM(UPPER(CONCAT(NTNAME,RANK)))) IN(&lt;BR /&gt; SELECT RTRIM(LTRIM(UPPER(CONCAT(NTNAME,MIN(RANK))))) MINRANK FROM QLIKVIEW.VW_QV_DPP_SECURITY_ROLES&lt;BR /&gt; GROUP BY NTNAME);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Rick&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-with-a-custom-userid-NOT-OSUser/m-p/35004#M1249411</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access with a custom userid (NOT OSUser)</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-with-a-custom-userid-NOT-OSUser/m-p/35005#M1249417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Section Access offers two basic authentication mechanisms:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;USERID (&amp;amp; PASSWORD) = Document Security. IDs only live in your document and nowhere else. No SSO is possible, except maybe with the use of external coding. Opening a document will ask for a UserID and Password every time.&lt;/LI&gt;&lt;LI&gt;NTNAME = External Directory security. IDs live in an external directory and it is up to you to check the proper use of these before passing them on to QlikView services. SSO is possible using AD and other directory services.&lt;/LI&gt;&lt;LI&gt;(There are also other identification mechanisms, based on for example license number, SID etc. Idon't think they can be used to match your requirements)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You seem to mix these techniques in your code. UserID is always set to '*'. Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With respect to your requirement: you want to combine something that typically belongs to the first technique (custom ID not tied to any external authentication system) with something typically provided by the second technique (SSO that relies on an external authentication system and typically passes your ID that is verified during a previous session, to an application without your knowledge). You can do that with a Custom Directory because that is about the only authentication mechanism in which QlikView plays a role (all others happen outside of QlikView) But then you would have to authenticate every time you launch an AP session. Is that OK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 12:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-with-a-custom-userid-NOT-OSUser/m-p/35005#M1249417</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-19T12:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access with a custom userid (NOT OSUser)</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-with-a-custom-userid-NOT-OSUser/m-p/35006#M1249420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Peter&lt;/P&gt;&lt;P&gt;The 2 options you presented - I would pick the NTNAME&lt;/P&gt;&lt;P&gt;Authenticating every time on launch of an AP Session is ok.&lt;/P&gt;&lt;P&gt;My security access code is definitely wrong and needs help. So I am looking for recommendations from you, please.&lt;/P&gt;&lt;P&gt;The data for the users is stored in the database which is accessed by the sql statement within the section access.&lt;/P&gt;&lt;P&gt;Thanks again for your support and assistance.&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 19:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-with-a-custom-userid-NOT-OSUser/m-p/35006#M1249420</guid>
      <dc:creator>rarora12</dc:creator>
      <dc:date>2018-03-20T19:54:54Z</dc:date>
    </item>
  </channel>
</rss>

