<?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 Pass Windows User Name in QlikView (Not the Login Name) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pass-Windows-User-Name-in-QlikView-Not-the-Login-Name/m-p/1303753#M406032</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 am developing a script for extracting a table box data into a Notepad into the user's Desktop. User has to do this from the apps from Access Point.&lt;/P&gt;&lt;P&gt;For that Windows User name is required to pass in variable and script, &lt;STRONG&gt;NOT&lt;/STRONG&gt; the Login Name for Report Center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example -&lt;/P&gt;&lt;P&gt;My laptop's windows username is Firstname.Lastname ( I can get this path as - C:\Users\&lt;SPAN style="font-size: 13.3333px;"&gt;Firstname.Lastname&lt;/SPAN&gt;\Desktop).&lt;/P&gt;&lt;P&gt;My Login name in Access Point is Lastname_Firstname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Approaches&lt;/STRONG&gt;-&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If is use OSUser(), i am getting &lt;SPAN style="font-size: 13.3333px;"&gt;Lastname_Firstname instead of &lt;SPAN style="font-size: 13.3333px;"&gt;Firstname.Lastname.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Also tried using LET&amp;nbsp; vExportPath = GetRegistryString('HKEY_CURRENT_USER\Environment\','TEMP');&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here the variable &lt;SPAN style="font-size: 13.3333px;"&gt;vExportPath gives the value as &lt;STRONG&gt;%USERPROFILE%\AppData\Local\Temp. &lt;/STRONG&gt;If in place of &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;%USERPROFILE%, &lt;/STRONG&gt;&lt;/SPAN&gt;I can get &lt;SPAN style="font-size: 13.3333px;"&gt;C:\Users\&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Firstname.Lastname, that would be helpful. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Can someone please suggests some options, how can I pass the Windows User name is any variable? &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2017 19:34:11 GMT</pubDate>
    <dc:creator>dmohanty</dc:creator>
    <dc:date>2017-05-19T19:34:11Z</dc:date>
    <item>
      <title>Pass Windows User Name in QlikView (Not the Login Name)</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-Windows-User-Name-in-QlikView-Not-the-Login-Name/m-p/1303753#M406032</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 am developing a script for extracting a table box data into a Notepad into the user's Desktop. User has to do this from the apps from Access Point.&lt;/P&gt;&lt;P&gt;For that Windows User name is required to pass in variable and script, &lt;STRONG&gt;NOT&lt;/STRONG&gt; the Login Name for Report Center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example -&lt;/P&gt;&lt;P&gt;My laptop's windows username is Firstname.Lastname ( I can get this path as - C:\Users\&lt;SPAN style="font-size: 13.3333px;"&gt;Firstname.Lastname&lt;/SPAN&gt;\Desktop).&lt;/P&gt;&lt;P&gt;My Login name in Access Point is Lastname_Firstname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Approaches&lt;/STRONG&gt;-&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If is use OSUser(), i am getting &lt;SPAN style="font-size: 13.3333px;"&gt;Lastname_Firstname instead of &lt;SPAN style="font-size: 13.3333px;"&gt;Firstname.Lastname.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Also tried using LET&amp;nbsp; vExportPath = GetRegistryString('HKEY_CURRENT_USER\Environment\','TEMP');&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here the variable &lt;SPAN style="font-size: 13.3333px;"&gt;vExportPath gives the value as &lt;STRONG&gt;%USERPROFILE%\AppData\Local\Temp. &lt;/STRONG&gt;If in place of &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;%USERPROFILE%, &lt;/STRONG&gt;&lt;/SPAN&gt;I can get &lt;SPAN style="font-size: 13.3333px;"&gt;C:\Users\&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Firstname.Lastname, that would be helpful. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Can someone please suggests some options, how can I pass the Windows User name is any variable? &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 19:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-Windows-User-Name-in-QlikView-Not-the-Login-Name/m-p/1303753#M406032</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2017-05-19T19:34:11Z</dc:date>
    </item>
  </channel>
</rss>

