<?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 How may I get in Edit Module the user connected? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-may-I-get-in-Edit-Module-the-user-connected/m-p/225863#M78128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marilena,&lt;/P&gt;&lt;P&gt;My suggestion is to let the users create their own personal bookmarks and not program it at all. You don't want to have to keep updating your program whenever there's a new user or a user decides he wants different filters.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Oct 2010 23:26:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-01T23:26:32Z</dc:date>
    <item>
      <title>How may I get in Edit Module the user connected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-may-I-get-in-Edit-Module-the-user-connected/m-p/225861#M78126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;HI,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;How may I get in Edit Module the user connected?&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I would like to set default filters depending on current user.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I have create a button and a macro&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;sub&lt;/B&gt; selectDefault&lt;/P&gt;&lt;P&gt;ActiveDocument.ClearAll&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt; Myuser = QVUser ()&lt;/P&gt;&lt;P&gt;if Myuser = "XX" Then ….&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;But it doesn't work. The error message (in edit module) is&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; text-indent: 36pt;"&gt;Type mismatch: 'QVUser'&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;How I can do it?&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Thanks&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Best Regards&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Marilena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 17:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-may-I-get-in-Edit-Module-the-user-connected/m-p/225861#M78126</guid>
      <dc:creator />
      <dc:date>2010-10-01T17:37:55Z</dc:date>
    </item>
    <item>
      <title>How may I get in Edit Module the user connected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-may-I-get-in-Edit-Module-the-user-connected/m-p/225862#M78127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, you are having that error because you are trying to evaluate qlikview functions directly in the macro script, this can only be accomplish in the following manner:&lt;/P&gt;&lt;P&gt;sub selectDefault&lt;/P&gt;&lt;P&gt;ActiveDocument.ClearAll&lt;/P&gt;&lt;P&gt;Myuser = ActiveDocument.Evaluate("qvuser()")&lt;BR /&gt;&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 18:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-may-I-get-in-Edit-Module-the-user-connected/m-p/225862#M78127</guid>
      <dc:creator />
      <dc:date>2010-10-01T18:28:17Z</dc:date>
    </item>
    <item>
      <title>How may I get in Edit Module the user connected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-may-I-get-in-Edit-Module-the-user-connected/m-p/225863#M78128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marilena,&lt;/P&gt;&lt;P&gt;My suggestion is to let the users create their own personal bookmarks and not program it at all. You don't want to have to keep updating your program whenever there's a new user or a user decides he wants different filters.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 23:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-may-I-get-in-Edit-Module-the-user-connected/m-p/225863#M78128</guid>
      <dc:creator />
      <dc:date>2010-10-01T23:26:32Z</dc:date>
    </item>
    <item>
      <title>How may I get in Edit Module the user connected?</title>
      <link>https://community.qlik.com/t5/QlikView/How-may-I-get-in-Edit-Module-the-user-connected/m-p/225864#M78129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks a lot both of you (Ivan and Barry)&lt;/P&gt;&lt;P&gt;I'll do both solutions because some of my users are managers &lt;IMG alt="Wink" src="http://community.qlik.com/emoticons/emotion-5.gif" /&gt; and I have to configure everything for their users&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;&lt;P&gt;Marilena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 11:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-may-I-get-in-Edit-Module-the-user-connected/m-p/225864#M78129</guid>
      <dc:creator />
      <dc:date>2010-10-04T11:36:04Z</dc:date>
    </item>
  </channel>
</rss>

