<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: GetUserProfileByName not giving consistent results</title><link>https://www.infopathdev.com:443/forums/thread/86026.aspx</link><pubDate>Mon, 14 Jan 2013 22:22:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86026</guid><dc:creator>TomRenfro</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86026.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=86026</wfw:commentRss><description>&lt;p&gt;I think I know what&amp;#39;s wrong.&amp;nbsp; We&amp;#39;ve got two different installations of SharePoint, one is 2007, which is the majority of our implementation, the other is 2010 and are migrating pages and sites gradually.&amp;nbsp; The forms I&amp;#39;m developing are in 2010.&amp;nbsp; Bottom line, the user&amp;#39;s profiles on 2010 don&amp;#39;t match&amp;nbsp;2007, so they are either incorrectly configured or something&amp;#39;s broken when AD credentials are loaded to SP2010 user profiles.&lt;/p&gt;
&lt;p&gt;It would be better if I could poll AD directly, rather than depend on SharePoint.&amp;nbsp; Don&amp;#39;t know how I can do this with declarative logic in rules without Qdabra&amp;#39;s Active Directory utility or DBXL.&lt;/p&gt;</description></item><item><title>GetUserProfileByName not giving consistent results</title><link>https://www.infopathdev.com:443/forums/thread/86020.aspx</link><pubDate>Mon, 14 Jan 2013 19:04:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86020</guid><dc:creator>TomRenfro</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86020.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=86020</wfw:commentRss><description>&lt;p&gt;Hi, everybody.&amp;nbsp; I&amp;#39;m currently constructing a series of forms that uses the web service GetUserProfileByName via a data connection.&amp;nbsp; I&amp;#39;m calling UserProfileService.asmx in the data connection in InfoPath 2010, connecting with a form library on&amp;nbsp;SharePoint 2010, then using GetUserProfileByName to retrieve the current user&amp;#39;s preferred name, manager ID, and department as defined in Active Directory.&amp;nbsp; These values prepopulate various fields on the respective forms, and, in some cases, replace the Account field value with the manager&amp;#39;s ID to do another query for the manager&amp;#39;s preferred name.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The problem I&amp;#39;m having, and I just noticed this recently, is this method works for some of our user base, but not all.&amp;nbsp; In our organization the user ID in Active Directory is a 6 character string.&amp;nbsp; I can use that ID in an AD utility and get the expected results, but not always using GetUserProfileByName.&lt;/p&gt;
&lt;p&gt;Is there another method that might be more reliable to get the same data without having to write a bunch of code?&amp;nbsp; Thanks in advance.&lt;/p&gt;</description></item></channel></rss>