<?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 passing credentials of section access using macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/passing-credentials-of-section-access-using-macro/m-p/332391#M122462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like the following.&lt;/P&gt;&lt;P&gt;Stephen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rem ** VBScript **&lt;BR /&gt;set App = ActiveDocument.GetApplication&lt;BR /&gt;App.OpenDoc "C:\MyDocuments\Budget.qvw","user",false,"jnn","123456",""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rem ** Visual Basic **&lt;BR /&gt;dim App as New QlikView.Application&lt;BR /&gt;set newdoc = App.OpenDoc ("C:\MyDocuments\Budget.qvw","admin",false,"jnn","123456","")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 16:04:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-02T16:04:32Z</dc:date>
    <item>
      <title>passing credentials of section access using macro</title>
      <link>https://community.qlik.com/t5/QlikView/passing-credentials-of-section-access-using-macro/m-p/332390#M122461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I got a document that binary reads from another document that has section access&lt;/P&gt;&lt;P&gt;Now I don't want users who open the first document to supply a user name and password&lt;/P&gt;&lt;P&gt;is there a way to pass the userName and password using a macro on the OnOpen trigger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 14:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/passing-credentials-of-section-access-using-macro/m-p/332390#M122461</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2012-05-02T14:30:28Z</dc:date>
    </item>
    <item>
      <title>passing credentials of section access using macro</title>
      <link>https://community.qlik.com/t5/QlikView/passing-credentials-of-section-access-using-macro/m-p/332391#M122462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like the following.&lt;/P&gt;&lt;P&gt;Stephen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rem ** VBScript **&lt;BR /&gt;set App = ActiveDocument.GetApplication&lt;BR /&gt;App.OpenDoc "C:\MyDocuments\Budget.qvw","user",false,"jnn","123456",""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rem ** Visual Basic **&lt;BR /&gt;dim App as New QlikView.Application&lt;BR /&gt;set newdoc = App.OpenDoc ("C:\MyDocuments\Budget.qvw","admin",false,"jnn","123456","")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 16:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/passing-credentials-of-section-access-using-macro/m-p/332391#M122462</guid>
      <dc:creator />
      <dc:date>2012-05-02T16:04:32Z</dc:date>
    </item>
    <item>
      <title>passing credentials of section access using macro</title>
      <link>https://community.qlik.com/t5/QlikView/passing-credentials-of-section-access-using-macro/m-p/332392#M122463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I think I missunderstood your question. You want to "automatically" pass the userName and password, so my code above is not what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 16:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/passing-credentials-of-section-access-using-macro/m-p/332392#M122463</guid>
      <dc:creator />
      <dc:date>2012-05-02T16:12:20Z</dc:date>
    </item>
    <item>
      <title>passing credentials of section access using macro</title>
      <link>https://community.qlik.com/t5/QlikView/passing-credentials-of-section-access-using-macro/m-p/332393#M122464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are wanting to grant users access to the second (Reader) document but prevent access to the first (Source) document, you can just define a new Section Access in the second document to replace the original security.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the security needs to be cumulative, then to pass the security from Source to Reader, you would need to do the following (although this might be considered a security issue) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the source document pass the security into hidden fields as thus ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set HidePrefix='^^^' ;&lt;/P&gt;&lt;P&gt;Section Access;&lt;BR /&gt;SecTable:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; admin, user1, pwd1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; admin, user2, pwd2&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Section Application;&lt;/P&gt;&lt;P&gt;Security:&lt;BR /&gt;LOAD &lt;BR /&gt; ACCESS AS ^^^ACCESS,&lt;BR /&gt; USERID AS ^^^USERID,&lt;BR /&gt; PASSWORD AS ^^^PASSWORD&lt;BR /&gt;resident SecTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Reader document ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binary SecDoc1.qvw;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Section Access;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^^^ACCESS as ACCESS,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^^^USERID AS USERID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^^^PASSWORD AS PASSWORD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESIDENT Security;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user, user3, pwd3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Application;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DROP TABLE Security;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need to integrate NTNAME into the security to automatically allow users into the documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 08:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/passing-credentials-of-section-access-using-macro/m-p/332393#M122464</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-05-03T08:19:46Z</dc:date>
    </item>
  </channel>
</rss>

