<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to validate a user?</title><link>https://www.infopathdev.com:443/forums/thread/98829.aspx</link><pubDate>Wed, 27 Aug 2014 16:05:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98829</guid><dc:creator>bphall74</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=98829</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yeah, that is definitely what&amp;#39;s happening.&amp;nbsp; We&amp;#39;re working on stripping out any extra info that&amp;#39;s being presented in the way the UserName is being shown.&amp;nbsp; Thanks for the response.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to validate a user?</title><link>https://www.infopathdev.com:443/forums/thread/98809.aspx</link><pubDate>Mon, 25 Aug 2014 20:31:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98809</guid><dc:creator>Pete_Murphy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98809.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=98809</wfw:commentRss><description>&lt;p&gt;What appears to be happening is the value in the separate list is not the same as what InfoPath returns as Username().&amp;nbsp;&amp;nbsp;&amp;nbsp; In your SharePoint list file containing the names, is the field a Person or Group field?&amp;nbsp; If so check the &amp;quot;Show Field:&amp;quot; field at the bottom of the page.&amp;nbsp; Try changing the field to Name and see if yo get a match.&amp;nbsp; Show the secondary data connection of all of the values and you will then know what you are looking at.  Let me know if this does not help.&lt;/p&gt;&lt;p&gt;Pete&lt;/p&gt;</description></item><item><title>How to validate a user?</title><link>https://www.infopathdev.com:443/forums/thread/98807.aspx</link><pubDate>Mon, 25 Aug 2014 19:41:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98807</guid><dc:creator>bphall74</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98807.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=98807</wfw:commentRss><description>&lt;p&gt;Hey Guru&amp;#39;s&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; I have an button on my InfoPath form that I&amp;#39;m trying to only allow specific people interact with.&amp;nbsp; I have a text field &amp;quot;whoamI&amp;quot; defaulted to Username() which picks up the current user.&amp;nbsp; I have a separate list with the specific users to click the button.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I&amp;#39;m drawing a blank on how to hide the button for anyone else but those specific people.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I was thinking if whoami doesn&amp;#39;t equal &amp;quot;user&amp;quot; = hide button but not working like I thought it would.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>