<?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 Reporting on Active Directory data. Not a question about AD loads or security. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reporting-on-Active-Directory-data-Not-a-question-about-AD-loads/m-p/825636#M290786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question doesn't have anything to do with loading AD data or securing reports by AD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have data from AD in a relational database and I'm trying to figure out the best way to create a view there or do something in QV script to allow me to provide clients with ability to see what AD users are members of AD groups. If it were just a matter of selecting a GROUP and showing the PERSON members of it that's no big deal. The problem happens with those groups that have other groups as members of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples may help illustrate the problem. Below is the ER diagram of the database followed by some sample data.&lt;BR /&gt;&lt;IMG alt="2014 1213_12.57.26.PM_0000.png" class="image-1 jive-image" src="/legacyfs/online/73424_2014 1213_12.57.26.PM_0000.png" style="width: 620px; height: 600px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014 1213_01.39.12.PM_0000.gif" class="jive-image image-2" src="/legacyfs/online/73425_2014 1213_01.39.12.PM_0000.gif" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, if I wanted just to show all the members of group VPs it's easy. However, if I want to show all the members of groups All Employees or Executives, it becomes much&amp;nbsp; more complicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone ever had to do something like this and how did you solve it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer to do the work in the database instead of QV script because I think it would be faster, but I'm not having any luck so far. At this point I don't care where I do it as long as I can get the right answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Dec 2014 18:44:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-13T18:44:23Z</dc:date>
    <item>
      <title>Reporting on Active Directory data. Not a question about AD loads or security.</title>
      <link>https://community.qlik.com/t5/QlikView/Reporting-on-Active-Directory-data-Not-a-question-about-AD-loads/m-p/825636#M290786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question doesn't have anything to do with loading AD data or securing reports by AD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have data from AD in a relational database and I'm trying to figure out the best way to create a view there or do something in QV script to allow me to provide clients with ability to see what AD users are members of AD groups. If it were just a matter of selecting a GROUP and showing the PERSON members of it that's no big deal. The problem happens with those groups that have other groups as members of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples may help illustrate the problem. Below is the ER diagram of the database followed by some sample data.&lt;BR /&gt;&lt;IMG alt="2014 1213_12.57.26.PM_0000.png" class="image-1 jive-image" src="/legacyfs/online/73424_2014 1213_12.57.26.PM_0000.png" style="width: 620px; height: 600px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014 1213_01.39.12.PM_0000.gif" class="jive-image image-2" src="/legacyfs/online/73425_2014 1213_01.39.12.PM_0000.gif" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, if I wanted just to show all the members of group VPs it's easy. However, if I want to show all the members of groups All Employees or Executives, it becomes much&amp;nbsp; more complicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone ever had to do something like this and how did you solve it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer to do the work in the database instead of QV script because I think it would be faster, but I'm not having any luck so far. At this point I don't care where I do it as long as I can get the right answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Dec 2014 18:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reporting-on-Active-Directory-data-Not-a-question-about-AD-loads/m-p/825636#M290786</guid>
      <dc:creator />
      <dc:date>2014-12-13T18:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting on Active Directory data. Not a question about AD loads or security.</title>
      <link>https://community.qlik.com/t5/QlikView/Reporting-on-Active-Directory-data-Not-a-question-about-AD-loads/m-p/825637#M290787</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;you basically have to use the hierarchy prefix in your load of the ADGroups_SubGroups table.&lt;/P&gt;&lt;P&gt;This will translate the child/parent relations described there into a complete hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this thread helps:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/112800"&gt;Using lookup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Dec 2014 22:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reporting-on-Active-Directory-data-Not-a-question-about-AD-loads/m-p/825637#M290787</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-12-13T22:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting on Active Directory data. Not a question about AD loads or security.</title>
      <link>https://community.qlik.com/t5/QlikView/Reporting-on-Active-Directory-data-Not-a-question-about-AD-loads/m-p/825638#M290788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marco.&lt;/P&gt;&lt;P&gt;I played around with that and I can see how it's a really useful feature that I'll probably use in future applications. However, it doesn't really help me with my current use case. I see that the hierarchy results in a table that has multiple new columns showing the children of a specific node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to provide the functionality my clients want, I need to end up with a table that looks like this&lt;BR /&gt;&lt;IMG alt="2014 1216_09.31.13.AM_0004.gif" class="image-1 jive-image" src="/legacyfs/online/73755_2014 1216_09.31.13.AM_0004.gif" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 22:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reporting-on-Active-Directory-data-Not-a-question-about-AD-loads/m-p/825638#M290788</guid>
      <dc:creator />
      <dc:date>2014-12-17T22:30:24Z</dc:date>
    </item>
  </channel>
</rss>

