<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: GetUserProfileByName does not work in a Web Browser Form when clicking on a button</title><link>https://www.infopathdev.com:443/forums/thread/59103.aspx</link><pubDate>Tue, 21 Sep 2010 19:32:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59103</guid><dc:creator>Michael Vasquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59103.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59103</wfw:commentRss><description>&lt;p&gt;I fugured it out using rules.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;</description></item><item><title>GetUserProfileByName does not work in a Web Browser Form when clicking on a button</title><link>https://www.infopathdev.com:443/forums/thread/59099.aspx</link><pubDate>Tue, 21 Sep 2010 16:31:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59099</guid><dc:creator>Michael Vasquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59099.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59099</wfw:commentRss><description>&lt;p&gt;When attempting to select a different name using the contact selector and clicking on the button to access the GetUserProfileByName Web Service, I get nothing.&amp;nbsp; But it does work in the InfoPath form.&lt;/p&gt;
&lt;p&gt;I followed the directions according to &lt;a href="http://msdn.microsoft.com/en-us/library/bb952744.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb952744.aspx&lt;/a&gt;&amp;nbsp;but this does not work in a Web Form.&amp;nbsp; I created a message txt box to out put the stack trace and I got the following message, &amp;nbsp;&amp;nbsp; &amp;quot;at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.DirectoryEntry.Bind()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.DirectoryEntry.get_AdsObject()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.DirectorySearcher.FindOne()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at testWebService.FormCode.btnGetUserInfo_Clicked(Object sender, ClickedEventArgs e).&amp;quot;&lt;/p&gt;
&lt;p&gt;How&amp;nbsp;do I get this to work when I want to get another user&amp;#39;s information?&amp;nbsp; Is there a way to set it up in rules?&amp;nbsp; If I want to get my information from GetUserProfileByName it works.&amp;nbsp; I want to be able to get another user&amp;#39;s information.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;</description></item></channel></rss>