<?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 ASP.NET Check if User Has Access Pass With Qlik Proxy Service in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/ASP-NET-Check-if-User-Has-Access-Pass-With-Qlik-Proxy-Service/m-p/1231271#M6499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an ASP.NET application that authenticates and redirects a user to a mashup. However, I need to check and see if the user has an access pass and is authorized to see that resource &lt;EM&gt;&lt;STRONG style="text-decoration: underline;"&gt;before&lt;/STRONG&gt;&lt;/EM&gt; I redirect them to the mashup. They will see this error if they are redirected and do not have proper authorization:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="No Acess Pass.PNG" class="jive-image image-1" height="143" src="/legacyfs/online/147566_No Acess Pass.PNG" style="height: 142.615px; width: 279px;" width="279" /&gt;&lt;/P&gt;&lt;P&gt;The Qlik Sense Proxy Service returns a qlikTicket whether or not the UserId or UserDirectory actually exist in the active directory. So, it would be nice to catch any unauthenticated users in the web application before they wait 5-10 seconds to be redirected only to see an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Dec 2016 16:57:13 GMT</pubDate>
    <dc:creator>TKendrick20</dc:creator>
    <dc:date>2016-12-23T16:57:13Z</dc:date>
    <item>
      <title>ASP.NET Check if User Has Access Pass With Qlik Proxy Service</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/ASP-NET-Check-if-User-Has-Access-Pass-With-Qlik-Proxy-Service/m-p/1231271#M6499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an ASP.NET application that authenticates and redirects a user to a mashup. However, I need to check and see if the user has an access pass and is authorized to see that resource &lt;EM&gt;&lt;STRONG style="text-decoration: underline;"&gt;before&lt;/STRONG&gt;&lt;/EM&gt; I redirect them to the mashup. They will see this error if they are redirected and do not have proper authorization:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="No Acess Pass.PNG" class="jive-image image-1" height="143" src="/legacyfs/online/147566_No Acess Pass.PNG" style="height: 142.615px; width: 279px;" width="279" /&gt;&lt;/P&gt;&lt;P&gt;The Qlik Sense Proxy Service returns a qlikTicket whether or not the UserId or UserDirectory actually exist in the active directory. So, it would be nice to catch any unauthenticated users in the web application before they wait 5-10 seconds to be redirected only to see an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 16:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/ASP-NET-Check-if-User-Has-Access-Pass-With-Qlik-Proxy-Service/m-p/1231271#M6499</guid>
      <dc:creator>TKendrick20</dc:creator>
      <dc:date>2016-12-23T16:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: ASP.NET Check if User Has Access Pass With Qlik Proxy Service</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/ASP-NET-Check-if-User-Has-Access-Pass-With-Qlik-Proxy-Service/m-p/1231272#M6500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quick Update: I found a way using header authentication and the QRS to check if a user exists in Qlik Sense. Still not checking if the user has an access pass, but it is one step closer. I am using &lt;A href="https://www.getpostman.com/"&gt;Postman&lt;/A&gt; to check the results of these requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Type:&lt;/STRONG&gt; GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;URL:&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://[server" rel="nofollow" target="_blank"&gt;https://[server&lt;/A&gt;&lt;SPAN&gt; name]/[auth prefix]/qrs/user/count?filter=Name%20eq%20%27[username]%27&amp;amp;Xrfkey=12ab34cd56ef78gh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Headers:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X-Qlik-Xrfkey : 12ab34cd56ef78gh&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [auth header name] : [domain]\[admin username]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The username in the URL does not need the domain. &lt;SPAN style="text-decoration: underline;"&gt;The username in the header should be a user that is allowed to access the QRS. The username in the URL parameter should be the user you want to check if exists.&lt;/SPAN&gt; Assuming the admin user specified in the header has access to the QRS and the user you are check in the URL parameter exists, you will be returned, simply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "value": 1&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thereby verifying that the user exists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 15:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/ASP-NET-Check-if-User-Has-Access-Pass-With-Qlik-Proxy-Service/m-p/1231272#M6500</guid>
      <dc:creator>TKendrick20</dc:creator>
      <dc:date>2017-01-02T15:54:39Z</dc:date>
    </item>
  </channel>
</rss>

