<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Qdabra Active Directory Web Service</title><link>https://www.infopathdev.com:443/forums/57.aspx</link><description>Qdabra Active Directory Web Service enables showing all Microsoft Active Directory user details in InfoPath forms. It is available in Database Accelerator, WSSP and as a standalone tool.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Can I do this with ADWS?</title><link>https://www.infopathdev.com:443/forums/thread/76285.aspx</link><pubDate>Mon, 12 Mar 2012 15:43:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76285</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=57&amp;PostID=76285</wfw:commentRss><description>&lt;p&gt;Glad it&amp;#39;s working!&lt;/p&gt;&lt;p&gt;There are also limits in Active Directory that might restrict how much data will be returned.&amp;nbsp; But the &amp;lt;httpRuntime executionTimeout=”#seconds” /&amp;gt; and MaxResultItems are the only things that can be controlled in the ADWS.&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/kb/315071&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Can I do this with ADWS?</title><link>https://www.infopathdev.com:443/forums/thread/76254.aspx</link><pubDate>Fri, 09 Mar 2012 20:51:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76254</guid><dc:creator>justinr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76254.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=57&amp;PostID=76254</wfw:commentRss><description>&lt;p&gt;This is exactly what I needed, info on how to use the filter field. I was able to add the MaxResultItems parameter to increase the returned items to 1000 for our environment. I was also able to filter Department=&amp;lt;department name&amp;gt; successfully. &lt;/p&gt;
&lt;p&gt;Another bit of playing around and finding the right AD attribute to query, and I&amp;#39;ve got it all working. I&amp;#39;ve setup a drop-down list with the list of our departments which, when changed, feeds the value into a concat statement&amp;nbsp;for the filter: (Department=&amp;lt;ListChoice&amp;gt;)(directReports=*) and queries GetAllUsers. This lets my users chose a department, then the manager from the department, exactly as they desired for the form.&lt;/p&gt;
&lt;p&gt;Thanks for your help and thanks for the AD webservice :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;p.s. - Is there any hard limit to the MaxResultItems parameter&amp;nbsp;other than the time it takes to run the query?&lt;/p&gt;</description></item><item><title>Re: Can I do this with ADWS?</title><link>https://www.infopathdev.com:443/forums/thread/75948.aspx</link><pubDate>Thu, 01 Mar 2012 12:55:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75948</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=57&amp;PostID=75948</wfw:commentRss><description>&lt;p&gt;Hi-&lt;/p&gt;&lt;p&gt;I&amp;#39;m attaching a screenshot of an example of the OU and Filter parameters. Here are some other filter examples:&lt;/p&gt;&lt;p&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lastname beginning with ‘Ha’&lt;br /&gt;sn=Ha*&lt;br /&gt;&lt;br /&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Users with an email address&lt;br /&gt;mail=*&lt;br /&gt;&lt;br /&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Users with a phone number starting with (425) or (206)&lt;br /&gt;|(telephoneNumber=\28425\29*)(telephoneNumber=\28206\29*)&lt;br /&gt;&lt;br /&gt;4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Users with an email and department&lt;br /&gt;(mail=*)(department=*)&lt;br /&gt;&lt;br /&gt;5)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Users without an email account in AD&lt;br /&gt;!(mail=*)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Characters that must be escaped in the filter:&lt;br /&gt;* = \2A&lt;br /&gt;&lt;br /&gt;( = \28&lt;br /&gt;&lt;br /&gt;) = \29&lt;br /&gt;&lt;br /&gt;\ = \5C&lt;br /&gt;&lt;br /&gt;NUL = \00&lt;br /&gt;&lt;br /&gt;To increase the max for the entire installation, in the web.config, make sure the MaxResultItems is increased to handle the maximum you want to allow.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;qdabra.dbxl&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;adService path=&amp;quot;LDAP://DC=AutonomySystems,DC=local&amp;quot; MaxResultItems=&amp;quot;500&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;Save the web.config after the change, then try the query again.&lt;/p&gt;&lt;p&gt;Hope this helps! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Can I do this with ADWS?</title><link>https://www.infopathdev.com:443/forums/thread/75768.aspx</link><pubDate>Mon, 27 Feb 2012 21:22:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75768</guid><dc:creator>justinr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75768.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=57&amp;PostID=75768</wfw:commentRss><description>&lt;p&gt;I forgot to mention, I attended the Infopath Master Class in-person&amp;nbsp;this past September, so I&amp;#39;ve got DBXL and the ADWS already installed :)&lt;/p&gt;
&lt;p&gt;I dragged the data fields for the GetAllUsers datasource to a blank form and tried experimenting with the filter and Max Count query fields. the most I could ever get to show is the first 100 alphabetical names in an OU, which I set as the datasource of a drop-down list just fine. Setting the Max Count query field doesnt change the results. I never could get the Filter&amp;nbsp;query field to work right either; I&amp;#39;m just unsure of the syntax&amp;nbsp;that it&amp;#39;s looking for. I tried various things, and when it didnt error out giving me the following response, the results were empty (&amp;quot;Maintenance&amp;quot; Filter was used):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The query cannot be run for the following DataObject: GetAllUsers&lt;br /&gt;InfoPath cannot run the specified query.&lt;br /&gt;The SOAP response indicates that an error occurred on the server:&lt;/p&gt;
&lt;p&gt;System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&amp;gt; System.ArgumentException: The (&amp;amp;(objectCategory=person)(objectClass=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(userAccountControl:1.2.840.113556.1.4.803:=512)(Maintenance)) search filter is invalid.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.SearchResultCollection.get_InnerList()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.SearchResultCollection.get_Count()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.ActiveDirectory.AdUserInfoImpl.CreateDropDownList(SearchResultCollection results, String listName, String displayPropertyName1, String displayPropertyName2)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.ActiveDirectory.AdUserInfoImpl.GetAllUsers(String OU, String filter, Int32 maxCount)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.Dbxl.AdUserInfo.Qdabra.ActiveDirectory.Services.IAdUserInfo.GetAllUsers(String OU, String filter, String maxCount)&lt;br /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;What is a valid search filter, and how to I get back more than 100 results?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One more thing: when I run the query, the only results returned are a Value column with the&amp;nbsp;&amp;quot;User Logon Name&amp;quot;&amp;nbsp;and Display column with the &amp;quot;Display Name&amp;quot; fields from AD. Would I have to feed these results into another query to get the department for each of the users?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Can I do this with ADWS?</title><link>https://www.infopathdev.com:443/forums/thread/75761.aspx</link><pubDate>Mon, 27 Feb 2012 20:05:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75761</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=57&amp;PostID=75761</wfw:commentRss><description>&lt;p class="MsoPlainText"&gt;Hi-&lt;/p&gt;&lt;p class="MsoPlainText"&gt;It may be possible using GetAllUsers since it can filter. It&amp;#39;s quite an interesting scenario, unfortunately, we don&amp;#39;t have any related documentation. I imagine you would:&lt;/p&gt;&lt;p class="MsoPlainText"&gt;1. Call GetAllUsers for a specific OU&lt;/p&gt;&lt;p class="MsoPlainText"&gt;2. This brings in all users with their Departments.&lt;/p&gt;&lt;p class="MsoPlainText"&gt;3. From that result, a list of Departments can be created to populated the dropdown.&lt;/p&gt;&lt;p class="MsoPlainText"&gt;4. When the user selects a department from the dropdown, call a second data connection for GetAllUsers, this time filtered by both OU and department.&lt;/p&gt;&lt;p class="MsoPlainText"&gt;We have a free trial of DBXL available on Qdabra.com, and it includes the Active Directory web service, so perhaps you can get that installed and see if the web service will allow you to accomplish what you require. Come back and let us know how it goes, or whether you run into any issues while trying the above. Good luck!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Can I do this with ADWS?</title><link>https://www.infopathdev.com:443/forums/thread/75717.aspx</link><pubDate>Fri, 24 Feb 2012 21:58:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75717</guid><dc:creator>justinr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75717.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=57&amp;PostID=75717</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve used my GoogleFu, searched around InfopathDev.com, and looked through the&amp;nbsp;ADWS documentation, but was unable to find what I needed, so here goes my first post on the site :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;d like to populate a dropdown with all users that are listed as a Manager in AD, filtered by department selection/input. I imagine the process going something&amp;nbsp;like this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&amp;nbsp;Drop-down list populated with Departments&amp;nbsp;of the AD users in a specific OU&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;I choose a department&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Department is set as input for another query&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;2nd drop-down list is populated with all users in that department, where&amp;nbsp;the Manager AD field = their name&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I think it can be done, I&amp;#39;m just not sure how to go about using the ADWS, UserProfileService, or a combination of both to create this functionality for the form. Can a set of queries be constructed to do this? Thanks for any help in advance :)&lt;/p&gt;</description></item></channel></rss>