<?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: how to store username in variable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493164#M1267869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;P&gt;I tried the Example, but I can login only with Admin-Users.&lt;/P&gt;&lt;P&gt;Doesn' matter, the guys below gave me the right answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Nevertheless I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will check out&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;your&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;idea, it&lt;/SPAN&gt; seems to be&lt;SPAN class="hps"&gt; also very interesting&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Bjoern&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 12:50:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-26T12:50:03Z</dc:date>
    <item>
      <title>how to store username in variable?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493158#M1267857</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;I just started with QlikView, and there are a lot of Questions, I hope someone can help me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have installed QlikView Desktop Version 10, and I want to influence which user is allowed to see wich Objects.&lt;/P&gt;&lt;P&gt;Since I have no Server-Version, I have to do it with variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a hidden script as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Section Access;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Access01:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, bjoern, neoliv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, test1, test1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER, test2, test2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Section Application;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to store the User-ID in a varable, which I can use in the "Show - Conditional" area of the different objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is, that I do not know, how I can store the user-ID in such a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there another way to control, which user can see which objects (without Server-Version)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bjoern&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/how-to-store-username-in-variable/m-p/493158#M1267857</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to store username in variable?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493159#M1267859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bjoern&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to load an additional table which will hold you role data and the 'variable'&amp;nbsp; - which is not a variable but a field value.&amp;nbsp; I've amended a pre-existing example I have with your&amp;nbsp; usernames and passwords.&amp;nbsp; I have given your admin role 1 and your users role 0 - this field value is then used in the conditional shows of the Sheets and buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look and let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493159#M1267859</guid>
      <dc:creator />
      <dc:date>2013-11-26T12:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to store username in variable?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493160#M1267861</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;Create a variable and give&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=QVUser()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will get you current user name accessing the Qlikview file in Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=OSUser()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For getting the username in desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493160#M1267861</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-11-26T12:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to store username in variable?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493161#M1267863</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;see attached image that will help you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create variable and assign QVUser Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vUser = QVUser()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493161#M1267863</guid>
      <dc:creator>VishalWaghole</dc:creator>
      <dc:date>2013-11-26T12:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to store username in variable?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493162#M1267865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot! It works fine!&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;hope my&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;skills&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will improve&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;so that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I can also&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;answer questions&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;soon...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Best regards, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Bjoern&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493162#M1267865</guid>
      <dc:creator />
      <dc:date>2013-11-26T12:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to store username in variable?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493163#M1267867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see above...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bjoern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493163#M1267867</guid>
      <dc:creator />
      <dc:date>2013-11-26T12:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to store username in variable?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493164#M1267869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;P&gt;I tried the Example, but I can login only with Admin-Users.&lt;/P&gt;&lt;P&gt;Doesn' matter, the guys below gave me the right answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Nevertheless I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will check out&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;your&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;idea, it&lt;/SPAN&gt; seems to be&lt;SPAN class="hps"&gt; also very interesting&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Bjoern&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 12:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-store-username-in-variable/m-p/493164#M1267869</guid>
      <dc:creator />
      <dc:date>2013-11-26T12:50:03Z</dc:date>
    </item>
  </channel>
</rss>

