<?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: SECTION ACCESS: How to deal with different domains for UserID for Test, Dev, Prod environments? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91856#M6124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tack for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to use NTNAME in Qlik Sense? Can you share an example please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, does Qlik Sense require the Directory part in the Directory\UserID format for User IDs? I.e. Is it mandatory? I was wondering if Qlik Sense would work simply using the IDs in the UserID field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2018 16:43:13 GMT</pubDate>
    <dc:creator>jblomqvist</dc:creator>
    <dc:date>2018-09-04T16:43:13Z</dc:date>
    <item>
      <title>SECTION ACCESS: How to deal with different domains for UserID for Test, Dev, Prod environments?</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91853#M6121</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;We have three environments, Test, Dev, and Production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each environment we have a different domain for the USERID field in Section Access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Test my USERID could be GLOB\JB001&lt;/P&gt;&lt;P&gt;In Dev my USERID could be DEVT\JB001&lt;/P&gt;&lt;P&gt;In Prod my USER ID could be PRODT\JB001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I correct that the domain must be included as part of USERID in Section Access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way maybe I can wildcard and do something like *\JB001 for my USERID field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to remove this problem of having to change USERIDs whenever we move the app into different environments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any good solutions you can think of?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 12:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91853#M6121</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2018-09-04T12:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS: How to deal with different domains for UserID for Test, Dev, Prod environments?</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91854#M6122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are this really different users from a NTNAME point of view? If not a change to it might be already a solution (in general I suggest to consider of using NTNAME instead of USERID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside this you could check with computername() on which environment the scripts are running and changing with it the domain, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;pick(wildmatch(computername(), 'GLOB*', 'DEVT*', 'PROD*'), 'GLOB', 'DEVT', 'PROD') &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '\' &amp;amp; USERID as USERID&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 13:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91854#M6122</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-09-04T13:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS: How to deal with different domains for UserID for Test, Dev, Prod environments?</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91855#M6123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create config file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 14:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91855#M6123</guid>
      <dc:creator>manoj217</dc:creator>
      <dc:date>2018-09-04T14:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS: How to deal with different domains for UserID for Test, Dev, Prod environments?</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91856#M6124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tack for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to use NTNAME in Qlik Sense? Can you share an example please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, does Qlik Sense require the Directory part in the Directory\UserID format for User IDs? I.e. Is it mandatory? I was wondering if Qlik Sense would work simply using the IDs in the UserID field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 16:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91856#M6124</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2018-09-04T16:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS: How to deal with different domains for UserID for Test, Dev, Prod environments?</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91857#M6125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general the logic of NTNAME is available but it seems that there are some changes against the implementation in QlikView and that NTNAME = USERID. I never worked with the Sense section access but here you could find some information: &lt;A href="https://community.qlik.com/qlik-blogpost/4391"&gt;Tips and tricks for section access in Qlik Sense (2.0+)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not an expert on the active directory stuff which is behind this authentication-method but I could imagine that there are scenarios possible in which the authentication could work even with multiple domains - but honestly my second suggestion with the pick(match()) approach of building the right USERID should be much faster to implement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 16:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-How-to-deal-with-different-domains-for-UserID-for/m-p/91857#M6125</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-09-04T16:50:24Z</dc:date>
    </item>
  </channel>
</rss>

