<?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: Working with the variable &amp;quot;OsUser&amp;quot; within the Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Working-with-the-variable-quot-OsUser-quot-within-the-Macro/m-p/408654#M1155737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define a variable:&lt;/P&gt;&lt;P&gt;vUserID&lt;/P&gt;&lt;P&gt;=upper(osuser())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the macro:&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("vUserID")&lt;BR /&gt;strUserID = v.GetContent.String&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 12:19:02 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2013-02-06T12:19:02Z</dc:date>
    <item>
      <title>Working with the variable "OsUser" within the Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-the-variable-quot-OsUser-quot-within-the-Macro/m-p/408653#M1155736</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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to access the User logged within a macro, already used the ActiveDocument.Variables, but I'm not succeeding.&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; thankful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wagner Figueiredo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 09:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-the-variable-quot-OsUser-quot-within-the-Macro/m-p/408653#M1155736</guid>
      <dc:creator />
      <dc:date>2013-02-06T09:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Working with the variable "OsUser" within the Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-the-variable-quot-OsUser-quot-within-the-Macro/m-p/408654#M1155737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define a variable:&lt;/P&gt;&lt;P&gt;vUserID&lt;/P&gt;&lt;P&gt;=upper(osuser())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the macro:&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("vUserID")&lt;BR /&gt;strUserID = v.GetContent.String&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 12:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-the-variable-quot-OsUser-quot-within-the-Macro/m-p/408654#M1155737</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2013-02-06T12:19:02Z</dc:date>
    </item>
  </channel>
</rss>

