<?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: Retrieve current user in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813261#M286921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey remco,&lt;/P&gt;&lt;P&gt;qvuser() will only work if section access has been applied. the osuser() should work.i tried it on my app and it worked.&lt;/P&gt;&lt;P&gt;maybe, if you could share your application and let everyone check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;kunal bhattacharjee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2014 08:48:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-12T08:48:22Z</dc:date>
    <item>
      <title>Retrieve current user</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813256#M286916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a configuration where users are logging in by using an accespoint. The users are managed in a custom directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the dashboards I want to have the log in-name of the active user available. T&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;here is no section access implemented (I am using publisher for reduced documents). I have tried qvuser () and osuser (), but neither of them lead to required results.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know of an alternative command or approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Remco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 21:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813256#M286916</guid>
      <dc:creator />
      <dc:date>2014-11-11T21:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve current user</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813257#M286917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the VB Edit section enter this Macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Public Function CurrentUser()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objNetWork = CreateObject("Wscript.Network")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CurrentUser = objNetwork.UserName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox CurrentUser&lt;/P&gt;&lt;P&gt;End Function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then assign this value to a variable and use it throughout&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 23:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813257#M286917</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2014-11-11T23:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve current user</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813258#M286918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.63636302948px;"&gt;qvuser () and osuser () should give you the correct results. Could you describe what output you are getting from those functions and what output you would like?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.63636302948px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.63636302948px;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 00:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813258#M286918</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-11-12T00:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve current user</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813259#M286919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The strange thing is that both commands have no result: an empty string. What I want to see is the userID of the user that is using that application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Remco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 07:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813259#M286919</guid>
      <dc:creator />
      <dc:date>2014-11-12T07:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve current user</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813260#M286920</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;I personally tries this. It worked for me without any go with osuser()&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px;"&gt;osuser ()&amp;nbsp; Returns the custom user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px;"&gt;If not share a sample to check with.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14px;"&gt;ASHFAQ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 08:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813260#M286920</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-11-12T08:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve current user</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813261#M286921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey remco,&lt;/P&gt;&lt;P&gt;qvuser() will only work if section access has been applied. the osuser() should work.i tried it on my app and it worked.&lt;/P&gt;&lt;P&gt;maybe, if you could share your application and let everyone check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;kunal bhattacharjee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 08:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813261#M286921</guid>
      <dc:creator />
      <dc:date>2014-11-12T08:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve current user</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813262#M286922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your input. In the end OSUSER() [without typos.....] did the trick. This included the domain, but with some manipulation I created the string I wanted to have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Remco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 12:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-current-user/m-p/813262#M286922</guid>
      <dc:creator />
      <dc:date>2014-11-12T12:47:06Z</dc:date>
    </item>
  </channel>
</rss>

