<?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: Detect the user type from QVW in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Detect-the-user-type-from-QVW/m-p/694341#M1316674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i BELIEVE you would have to include the user and CAL assignment as a table in your data model as a data island.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table would list all the users with a doc cal&amp;nbsp; and named user cal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If their is a named user cal for the current user (use osuser() or qvuser()&amp;nbsp; to do the lookup) then you know its named. If not then check if the document and the user has a doc cal assigned . if yes its a doc cal.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if none of the above its a session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this does not take into account if you have usage cals though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is the order the licenses work so it would work if you can export your cal assignments to a format readable by qv and just load them in the load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2014 18:27:13 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-10-09T18:27:13Z</dc:date>
    <item>
      <title>Detect the user type from QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Detect-the-user-type-from-QVW/m-p/694340#M1316671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to detect from QVW (via macro, for example) if the application is being accessed by User with Named, Doc, or Session's licenses?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any suggestions/recomendations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Vladimir&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/Detect-the-user-type-from-QVW/m-p/694340#M1316671</guid>
      <dc:creator>vlad_komarov</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Detect the user type from QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Detect-the-user-type-from-QVW/m-p/694341#M1316674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i BELIEVE you would have to include the user and CAL assignment as a table in your data model as a data island.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table would list all the users with a doc cal&amp;nbsp; and named user cal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If their is a named user cal for the current user (use osuser() or qvuser()&amp;nbsp; to do the lookup) then you know its named. If not then check if the document and the user has a doc cal assigned . if yes its a doc cal.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if none of the above its a session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this does not take into account if you have usage cals though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is the order the licenses work so it would work if you can export your cal assignments to a format readable by qv and just load them in the load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 18:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detect-the-user-type-from-QVW/m-p/694341#M1316674</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-09T18:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Detect the user type from QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Detect-the-user-type-from-QVW/m-p/694342#M1316678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! I was hoping for some system-level solution, but the one you are proposing is straight-forward enough to implement as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 18:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Detect-the-user-type-from-QVW/m-p/694342#M1316678</guid>
      <dc:creator>vlad_komarov</dc:creator>
      <dc:date>2014-10-09T18:39:23Z</dc:date>
    </item>
  </channel>
</rss>

