<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Get a managers prefferedName based by the Peoplepicker person</title><link>https://www.infopathdev.com:443/forums/thread/70582.aspx</link><pubDate>Sat, 24 Sep 2011 21:01:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70582</guid><dc:creator>Tinker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70582.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70582</wfw:commentRss><description>infopath 2010... 

Followed this how-to article:  

http://www.myriadtech.com.au/blog/Alana/Lists/Posts/Post.aspx?ID=20 


- and it works perfect - but as it is stated;

&amp;quot;I don&amp;#39;t like just having the manager&amp;#39;s user name ...would much rather have the manager&amp;#39;s full name displayed nicely on the form and not the username&amp;quot;... 



So I went to the Clayton Cobbs reference mentioned at: http://claytoncobb.wordpress.com/2009/06/21/userprofileservice-extended/ 

and I really studied the article - ...and he shows very nicely how to achieve this by a &amp;quot;Get button&amp;quot; and by using the &amp;#39;PreferredName&amp;#39;... (and he&amp;#39;s using a list in SP that I would like to avoid)... ...but I don&amp;#39;t understand how I can &amp;quot;translate&amp;quot; the managers Username: contoso\12345  to his &amp;quot;preferredName&amp;quot;


Having the: Value[Name = &amp;quot;Manager&amp;quot;] in the rule/field... It returns the looked up user manager username:  contoso\12345


I tried several things - tried to use the &amp;quot;PreferredName&amp;quot; in my rule/field and tried the concat(firstname and lastname) etc. etc. - but all I get then are the name of the person that I &amp;quot;looked up&amp;quot; - and not the managers name...

So how do solve this and get the manager username changed his preferredname?</description></item></channel></rss>