<?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>InfoPath</title><link>https://www.infopathdev.com:443/forums/170.aspx</link><description>For questions on using InfoPath in Office 365</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: user name display like i:0#.f|membership|username@domain.onmicrosoft.com</title><link>https://www.infopathdev.com:443/forums/thread/118444.aspx</link><pubDate>Wed, 28 Feb 2018 08:06:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118444</guid><dc:creator>prashant99</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=170&amp;PostID=118444</wfw:commentRss><description>Hi,


-Value[Name = &amp;quot;PreferredName&amp;quot;]

Value will be coming from - GetUserProfileByName - Data Connection which is you can get from below link:

https://www.qdoscc.com/blog/how-automatically-retrieve-current-username-infopath-sharepoint-list-form</description></item><item><title>Re: user name display like i:0#.f|membership|username@domain.onmicrosoft.com</title><link>https://www.infopathdev.com:443/forums/thread/117957.aspx</link><pubDate>Sun, 31 Dec 2017 23:43:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117957</guid><dc:creator>brice235i</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117957.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=170&amp;PostID=117957</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi there, you post&amp;nbsp; from March... surprised no-one has answered!&lt;/p&gt;&lt;p&gt;To fix this you can use&amp;nbsp;the truncate function.&amp;nbsp; Add a text field for the user&amp;#39;s email address and default to the following: substring-after(AccountId, &amp;quot;i:0#.f|membership|&amp;quot;)&amp;nbsp;&lt;/p&gt;&lt;p&gt;AccountID is your person lookup field.&amp;nbsp;&lt;/p&gt;</description></item><item><title>user name display like i:0#.f|membership|username@domain.onmicrosoft.com</title><link>https://www.infopathdev.com:443/forums/thread/109340.aspx</link><pubDate>Thu, 02 Feb 2017 16:22:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:109340</guid><dc:creator>imughalzin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/109340.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=170&amp;PostID=109340</wfw:commentRss><description>Hi,

I am working on infopath form and on form load set text field as  username() to show request initiator name on form. problem is that name show like  i:0#.f|membership|username@domain.onmicrosoft.com.

pls guide how to properly fixed that issue to show user display name properly.

Thanks.</description></item></channel></rss>