<?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: Connecting to and Querying Active Directory for Users in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336449#M704939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The QVW which tries to load the data from LDAP loads only the partial data frequently. We are unable to find the root cause of the issue as the QVW doesn't fails but it loads only the partial data.Can someone please help us to identify the root cause of the issue. It has been happening from quite a long time but we didn't succeed in finding the root cause of the issue. Hope someone can help us for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2013 16:53:27 GMT</pubDate>
    <dc:creator>qlikviewforum</dc:creator>
    <dc:date>2013-07-22T16:53:27Z</dc:date>
    <item>
      <title>Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336442#M704929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I'd share this as I couldn't find a specific instance of this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a need to read all the users from an active directory.&amp;nbsp; Aside from getting the connectivity correct I also ran into MS's 1000 row limit on querying the AD.&amp;nbsp; After reading a couple of blogs I came up with the code for the Load Script below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Connection string&lt;/P&gt;&lt;P&gt;CONNECT TO [Provider=ADsDSOObject;Encrypt Password=False;Data Source=LDAP://xx.yyyy.com:389;Mode=Read];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set values='A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z';&lt;/P&gt;&lt;P&gt;let valuecount = SubStringCount(values,',');&lt;BR /&gt;for i = 1 to valuecount + 1&lt;BR /&gt;let value = subfield(values,',', i) &amp;amp; '*';&lt;BR /&gt;[ADUsers]:&lt;BR /&gt;sql select cn, sAMAccountName, displayName from 'LDAP://xx.yyyy.com' where objectClass = 'User' and objectCategory = 'Person' and sAMAccountName = '$(value)';&lt;BR /&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code basically queries the AD for each letter in the alphabet as a wildcard.&amp;nbsp; So if you have less than 26,000 entries in your AD you're good, as long as they are not more than 1000 by letter.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't return all the data you might want to change the values for make it a nested loop to do AA, AB, AC, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there's a better way, aside from tweaking the AD, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps someone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Russ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 19:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336442#M704929</guid>
      <dc:creator />
      <dc:date>2012-04-03T19:32:35Z</dc:date>
    </item>
    <item>
      <title>Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336443#M704931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was actually in the Community a few years back but was seemly lost when they re-worked the message boards. So thanks for contributing this!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 19:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336443#M704931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-03T19:37:03Z</dc:date>
    </item>
    <item>
      <title>Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336444#M704933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I found another snippet that used a DO/LOOP after I posted my message.&amp;nbsp; When I tried that code I got a lot less records returned.&amp;nbsp; I think there's a bad assumption in the order that records are being returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the idea from here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.bravesoft.com/blog/?p=24"&gt;http://www.bravesoft.com/blog/?p=24&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 19:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336444#M704933</guid>
      <dc:creator />
      <dc:date>2012-04-03T19:57:05Z</dc:date>
    </item>
    <item>
      <title>Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336445#M704935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I modified the DO/LOOP code so now it works and returns a more complete list even than the previous code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET arg=chr(01); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO &lt;/P&gt;&lt;P&gt; [nameTable]:&lt;/P&gt;&lt;P&gt; SQL select name, sAMAccountName FROM 'LDAP://xx.yyyy.com' WHERE objectCategory='person' AND objectClass = 'User' and name &amp;gt;'$(arg)' order by name; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXIT DO WHEN ScriptError &amp;gt; 1;&lt;/P&gt;&lt;P&gt; EXIT DO WHEN NoOfRows('nameTable') = 0; &lt;/P&gt;&lt;P&gt; EXIT DO WHEN peek('name') = '$(arg)';&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LET arg=peek('name');&lt;/P&gt;&lt;P&gt;LOOP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like this code better now because it doesn't suffer the same limitations.&amp;nbsp; Never leave well enough alone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Russ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 21:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336445#M704935</guid>
      <dc:creator />
      <dc:date>2012-04-03T21:05:09Z</dc:date>
    </item>
    <item>
      <title>Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336446#M704936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The above code snippet is from the QV Cookbook available here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://robwunderlich.com/downloads/"&gt;http://robwunderlich.com/downloads/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When searching for code, don't forget to consider the Cookbook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcomponents.org"&gt;http://qlikviewcomponents.org&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 21:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336446#M704936</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-04-03T21:15:33Z</dc:date>
    </item>
    <item>
      <title>Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336447#M704937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob. Your code in the Cookbook is probably what I remember seeing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 21:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336447#M704937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-03T21:42:46Z</dc:date>
    </item>
    <item>
      <title>Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336448#M704938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;bgarland wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Rob. Your code in the Cookbook is probably what I remember seeing.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Thanks Rob.&amp;nbsp; I pulled it from a post that came up after I posted mine, from you of course!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'order by name' was the secret sauce for me that got it to work properly.&amp;nbsp; I should have iterated through to see why it was dropping users.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 00:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336448#M704938</guid>
      <dc:creator />
      <dc:date>2012-04-04T00:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336449#M704939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The QVW which tries to load the data from LDAP loads only the partial data frequently. We are unable to find the root cause of the issue as the QVW doesn't fails but it loads only the partial data.Can someone please help us to identify the root cause of the issue. It has been happening from quite a long time but we didn't succeed in finding the root cause of the issue. Hope someone can help us for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 16:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336449#M704939</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2013-07-22T16:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336450#M704940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is my latest script for loading Active Directory. It does not use a macro, and therefore does not require System Access and will work in a server reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the comment on line 12 of the "Users" script tab. At some installations, I've received an "undefined SQL Error" message and fixed it by uncommenting this line. I've have not figured out the cause,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com/"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 05:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336450#M704940</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-07-23T05:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336451#M704941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I will try to modify the code so that it fits for my requirement and will keep you updated on that. I hope if I successfuly managed to understand the code&amp;nbsp; and do the required change then it should retrieve the data from LDAP/AD without any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 12:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336451#M704941</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2013-07-23T12:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336452#M704942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this application Rob! I am making use of it but there is one thing I am trying to figure out. I receive an&lt;/P&gt;&lt;P&gt;QVX_UNEXPECTED_END_OF_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I say ok and the script continues to run pulling records.&amp;nbsp; This happens more on the AD Users than AD Groups&lt;/P&gt;&lt;P&gt;I am trying to figure out what would cause it or what I need to try and bypass?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any insight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 15:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336452#M704942</guid>
      <dc:creator>jeremy_fourman</dc:creator>
      <dc:date>2013-10-14T15:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336453#M704943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm seeing that error with a number of customers loading from SQL Server. This is the first I've heard of it with AD. My customers have not got resolution from QT Support. I suggest you report this error as well because I think it would be useful for support to understand the scope of this problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 19:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336453#M704943</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-10-14T19:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336454#M704944</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;Did anyone get a solution to this error?&amp;nbsp; I too am getting the same error when extracting from the AD as Jeremy, and it continues to pull records after i click ok. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 12:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336454#M704944</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2014-01-09T12:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336455#M704945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; background-color: #f5f5f5;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; background-color: #f5f5f5;"&gt;Hi Rob,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; background-color: #f5f5f5;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; background-color: #f5f5f5;"&gt;I am trying to query the AD with your Script but I always get following Error message:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f5f5f5; color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Error Source: Active Directory, Error Msg:The specified domain either does not exist or could not be contacted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f5f5f5; color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f5f5f5; color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;I definitely set up the correct AD domain - I can access it via AD Explorer but I am not able to query it with the SQL script. I need to load the members and their AD groups.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f5f5f5; color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f5f5f5; color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Any chance you can help me with this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f5f5f5; color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f5f5f5; color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f5f5f5; color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Marius&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 14:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336455#M704945</guid>
      <dc:creator />
      <dc:date>2014-01-22T14:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336456#M704946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@hopkinsc&lt;/P&gt;&lt;P&gt;I got a report from someone else that they fixed the UNEXPECTED_END_OF_DATA error by un-commenting the FIRST 1000 script prefix and setting it to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIRST 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 15:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336456#M704946</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-01-24T15:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336457#M704947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marius,&lt;/P&gt;&lt;P&gt;I'm not sure where the error could be. Could it be authorization? Are you using the same userid in QV and AD Explorer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 15:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336457#M704947</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-01-24T15:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336458#M704948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FIRST 500 seems to work for me. However I need to enter "FIRST 500" in three different places.&lt;/P&gt;&lt;P&gt;1. Users tab, Line 12 (above Load statement)&lt;/P&gt;&lt;P&gt;2. Groups tab, Line 12 (above Load statement)&lt;/P&gt;&lt;P&gt;3. GroupMembers, Line 11 (above Load statement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, thanks Rob for the scripts, really appreciate you sharing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ww&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 03:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336458#M704948</guid>
      <dc:creator>wwistam</dc:creator>
      <dc:date>2014-06-27T03:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336459#M704949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The UNEXPECTED_END_OF_DATA error seems to occur on Qlikview version 11. I can run it on version 9 with no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ww &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 03:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336459#M704949</guid>
      <dc:creator>wwistam</dc:creator>
      <dc:date>2014-06-27T03:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336460#M704950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This all has been very helpful, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One further question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to validate users memberships in groups.&lt;/P&gt;&lt;P&gt;Some of the groups are nested, How can I get the parents&lt;/P&gt;&lt;P&gt;groups etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 15:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336460#M704950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-24T15:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to and Querying Active Directory for Users</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336461#M704951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran the script and got this error :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #993300;"&gt;ErrorSource: Active Directory, ErrorMsg: A referral was returned from the server.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #993300;"&gt;SQL select name, distinguishedName FROM 'LDAP://DC=autodesk, DC=com'&amp;nbsp; WHERE objectCategory='person' AND name&amp;gt;' '&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ay idea what causes this error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 23:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-to-and-Querying-Active-Directory-for-Users/m-p/336461#M704951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-08T23:38:25Z</dc:date>
    </item>
  </channel>
</rss>

