<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Retrieve user details from AD to Infopath form without using UserProfileServices</title><link>https://www.infopathdev.com:443/forums/thread/68262.aspx</link><pubDate>Fri, 08 Jul 2011 20:04:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68262</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68262.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=68262</wfw:commentRss><description>&lt;p&gt;Hi Lucy,&lt;/p&gt;
&lt;p&gt;You should install Qdabra&amp;#39;s Active Directory Web Service and query that for the information. We have a bunch of videos on YouTube that show how to use it. It&amp;#39;s cheap and will save you tons of time plus it has cool features not included in UserProfileService - check out Clayton Cobb&amp;#39;s &amp;quot;SharePoint Madness&amp;quot; blog on why ADWS is better. The key requirement is that you have a server you can install the Web service too. If you don&amp;#39;t have that, you can&amp;#39;t install it and the only way to do what you want is to write a bunch of code in your form that calls AD but that will likely require full trust for your web form which will require Admin Deploy which is just as hard as installing the Web service! :)&amp;nbsp; So, hopefully, you can find an IT person to help you install the Web Service. Then, it&amp;#39;s easy as pie (ice cream included).&lt;/p&gt;
&lt;p&gt;Send us email if you would like to see a quick live demo!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Retrieve user details from AD to Infopath form without using UserProfileServices</title><link>https://www.infopathdev.com:443/forums/thread/68029.aspx</link><pubDate>Mon, 04 Jul 2011 14:55:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68029</guid><dc:creator>Stuat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68029.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=68029</wfw:commentRss><description>&lt;div class="container"&gt;
&lt;div class="body"&gt;
&lt;p&gt;Dear all,&lt;/p&gt;
&lt;p&gt;I have designed an infopath form that pull user details from AD. Everything works well for user objects on AD. I use the people picker to select the users, than pass their user name to GetUserProfileByName and then populate the required fields (Name, email, phone, manager etc.)&lt;/p&gt;
&lt;p&gt;However, my company has decided that many users who do not need to log on to a computer do not need to have usernames, and those people are added as just contact objects on AD. For these people, there are no associated usernames, so I cannot use the user profile services to retrieve their info. The people picker picks&amp;nbsp;resolves&amp;nbsp;them alright, and the person selector displays their post, title, email etc. My problem is how to pull out these details so I can populate my form with it. I have searched GetUserProfileByGuid but I dont know how to retrieve the GUID without username.&lt;/p&gt;
&lt;p&gt;I have also &amp;nbsp;looked at the User Information List using this link&amp;nbsp; &lt;a href="http://mysitename/_catalogs/users/simple.aspx"&gt;&lt;font color="#0066dd"&gt;http://MySITENAME/_catalogs/users/simple.aspx&lt;/font&gt;&lt;/a&gt;.&amp;quot; but could not see any of the contact names. Searching for the contact names on the sharepoint site also returns nothing. I checked again using the contact selector and it was resolved alright. Is there another place that contact selector/people picker pulls the names from? I thought its pulled from UIL?&lt;/p&gt;
&lt;p&gt;If I find the users in the user information list, and make a data connection to it, then I will only query it when needed and that is&amp;nbsp;only&amp;nbsp;when a contact user is selected which is about &amp;lt;5% of the time so am hoping it will work for me.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;In a nutshell, I am looking for a way to query AD directly using the Display name of the selected user (as resolved by people picker) and retrieve their title, department and email address without using UserProfileService. I wish I can afford QDabraAD but I can&amp;#39;t.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Any help will be highly appreciated.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lucy.&lt;/p&gt;
&lt;p&gt;PS: I am designing in Infopath 2010 but publishing as sharepoint 2007 webform.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>