<?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: Inconsistent User Info From GetUserProfileByName</title><link>https://www.infopathdev.com:443/forums/thread/69274.aspx</link><pubDate>Tue, 16 Aug 2011 00:14:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69274</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69274.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=69274</wfw:commentRss><description>&lt;p&gt;For historic reasons, the Username() function returns the local username. When published to the browser, this no longer makes sense since the logged in user is the server account. Please use UserProfileService to get the user name. Or, you can install a third-party Active Directory Web Service, such as Qdabra&amp;#39;s &lt;a title="ADWS" href="http://www.qdabra.com/en/products/ADWebService.aspx"&gt;ADWS&lt;/a&gt; which has more functionality and is easier to use.&lt;/p&gt;</description></item><item><title>Inconsistent User Info From GetUserProfileByName</title><link>https://www.infopathdev.com:443/forums/thread/69186.aspx</link><pubDate>Wed, 10 Aug 2011 23:08:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69186</guid><dc:creator>RKEMN2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69186.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=69186</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I’ve got an InfoPath 2010 form hosted in SharePoint 2010 that displays an incorrect identity in a People Picker depending on which environment it is published. The People Picker is populated using the GetUserProfileByName method of the UserProfileService web service and I am not specifying the username (relying on the default to pick up the current user). The Username() function correctly displays my logged in username in a separate form field.&lt;/font&gt;&lt;/font&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;This works correctly in my development installation of SharePoint and in previous deployments, but currently the published form is showing a server identity (SharepointSQLService) rather than my AD username. It is a browser-enabled form with security set to Domain.&lt;/font&gt;&lt;/font&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Any ideas why a different identity is being used for UserProfileService web service?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>