<?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 OSUser with Active Directory Groups in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108745#M366941</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 use the OSUser for hide or show charts/ tabs in my apps. I use only with &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'DOMAIN\User_name'. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Do you know if it's possible to use with Active Directory Groups, because it could be faster instead write &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;OSUser() = &lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'DOMAIN\UserA'&amp;nbsp; or &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;OSUser() = &lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'DOMAIN\UserB'&amp;nbsp; &lt;/SPAN&gt; or &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;OSUser() = &lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'DOMAIN\UserC'&amp;nbsp; &lt;/SPAN&gt;.....&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2016 09:50:38 GMT</pubDate>
    <dc:creator>sergio0592</dc:creator>
    <dc:date>2016-06-24T09:50:38Z</dc:date>
    <item>
      <title>OSUser with Active Directory Groups</title>
      <link>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108745#M366941</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 use the OSUser for hide or show charts/ tabs in my apps. I use only with &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'DOMAIN\User_name'. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Do you know if it's possible to use with Active Directory Groups, because it could be faster instead write &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;OSUser() = &lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'DOMAIN\UserA'&amp;nbsp; or &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;OSUser() = &lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'DOMAIN\UserB'&amp;nbsp; &lt;/SPAN&gt; or &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;OSUser() = &lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; line-height: 107%; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: FR; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'DOMAIN\UserC'&amp;nbsp; &lt;/SPAN&gt;.....&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 09:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108745#M366941</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2016-06-24T09:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: OSUser with Active Directory Groups</title>
      <link>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108746#M366942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No that won't work. AD Users are never uniquely identified by a group name, only by a user name. So OSUser() will always return the unique accountname of the user that is currently logged in. Not the maybe 15 groups he/she may be member of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, groups are only used to distribute permissions across groups of users instead of every user individually. For example, if I need access to a QlikView document and permissions to this document are managed using a group name, then I become member of that group and at the same time earn all permissions that are assigned t othat group. But I will still be known everywhere in AD as my accountname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 10:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108746#M366942</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-06-24T10:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: OSUser with Active Directory Groups</title>
      <link>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108747#M366943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your query for the osuser could be simplyfied with: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;match(osuser(), &lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica',sans-serif;"&gt;'DOMAIN\UserA', &lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica',sans-serif;"&gt;'DOMAIN\UserB', ...&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you could extend it for a lookup-logic like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(match(osuser(),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(=concat(NTNAME, chr(39) &amp;amp; ',' &amp;amp; chr(39), RecNo))',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(=concat(GROUPNAME, chr(39) &amp;amp; ',' &amp;amp; chr(39), RecNo))')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereby you need a table of your users-usergroup matching. With them and if the data are really confidental and/or you want to implement a very strikt usability it's recommended to use section access to control the access on data, objects and sheets (and within section access you could also use user-groups for the autorization).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9039"&gt;Section Access&lt;/A&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>Fri, 24 Jun 2016 10:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108747#M366943</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-24T10:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: OSUser with Active Directory Groups</title>
      <link>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108748#M366944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, Marcus' post made me realise that I partially misread your question. Of course you can use AD Groups to better manage access to documents and data, only not with OSUser(). Section Access does support AD Groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 10:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108748#M366944</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-06-24T10:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: OSUser with Active Directory Groups</title>
      <link>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108749#M366945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Markus, i'll read carefully your post about Section Access.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 11:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/OSUser-with-Active-Directory-Groups/m-p/1108749#M366945</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2016-06-24T11:11:10Z</dc:date>
    </item>
  </channel>
</rss>

