<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: GetUserProfileByName doesn't populate userinfo fields at Form loading</title><link>https://www.infopathdev.com:443/forums/thread/104402.aspx</link><pubDate>Sun, 18 Oct 2015 02:31:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104402</guid><dc:creator>Himanshu_Saxena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104402.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=104402</wfw:commentRss><description>Hi,

As per my understanding you are pulling multiple information using on the InfoPath form using the GetUserprofileByName web service. While doing preview it pulls up all the value correctly but while opening in browser it pulls the user&amp;#39;s name only.


I can&amp;#39;t give you a definitive answer on this as every thing is working fine in the Preview but still you can check the below settings.


1. Make sure the user login name you are pulling using the web service not using the function Username(). This can cause some confusion some time.
2. All the informations are being pulled from UPA so make sure you have the information from SharePoint Central Admin. ( Just wanted to cross check as it works in preview).
3. Are you pulling the whole data on the form load or only login and expecting the rest information based on that if this is the case check the post back setting of the field, where you are pulling the login name of the user.</description></item><item><title>Re: GetUserProfileByName doesn't populate userinfo fields at Form loading</title><link>https://www.infopathdev.com:443/forums/thread/104025.aspx</link><pubDate>Thu, 17 Sep 2015 23:36:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104025</guid><dc:creator>Bre Huston</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104025.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=104025</wfw:commentRss><description>&lt;p&gt;Hello MWAN001,&lt;/p&gt;
&lt;p&gt;What versions of SharePoint and InfoPath are you using? Here&amp;#39;s a post for O365 but it&amp;#39;s very similar for 2013. &lt;a href="http://www.infopathdev.com/blogs/bre_huston/archive/2015/02/12/user-profile-service-in-o365.aspx"&gt;http://www.infopathdev.com/blogs/bre_huston/archive/2015/02/12/user-profile-service-in-o365.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope that helps!&lt;br /&gt;Bre&lt;/p&gt;</description></item><item><title>GetUserProfileByName doesn't populate userinfo fields at Form loading</title><link>https://www.infopathdev.com:443/forums/thread/103565.aspx</link><pubDate>Sat, 08 Aug 2015 02:11:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103565</guid><dc:creator>MWAN001</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103565.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=103565</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;We have a requirement to prepopulate userinfo fields when the form loads and when the GetInfo button is clicked.&lt;/p&gt;&lt;p&gt;We use GetUserProfileByName web service to retrieve userinfo fields, such as EmailAddress, Department, Division, Phone Number. &lt;/p&gt;&lt;p&gt;At Infopath Designer preview, &amp;nbsp;all the userinfo fields are populated as expected. Then I published the Infopath form to the Form Library.&lt;/p&gt;&lt;p&gt;At browser,&amp;nbsp;the formload only populate logon user&amp;#39;s name at the name picker field. Selected a different user and clicked on GetInfo button doesn&amp;#39;t populate userinfo&amp;nbsp;fields as well.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have checked with a colleague but she uses custom list mostly. She didn&amp;#39;t run into this issue. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What is happening here?&amp;nbsp;&amp;nbsp;The Infopath template is published to a Form library. &lt;/p&gt;&lt;p&gt;Does the permisison need to be elevated to Full Control to&amp;nbsp;use the GetUserProfileByName&amp;nbsp;webservice with Form library? &lt;/p&gt;&lt;p&gt;Currently the by default permisison is&amp;nbsp;checked. &amp;nbsp;&lt;/p&gt;&lt;p&gt;Please help and much appreciated!! &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>