<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: please help... how to hide a button unless it is a specific person?</title><link>https://www.infopathdev.com:443/forums/thread/83920.aspx</link><pubDate>Fri, 26 Oct 2012 14:01:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83920</guid><dc:creator>luke20</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83920</wfw:commentRss><description>thanks for your answer :)</description></item><item><title>Re: please help... how to hide a button unless it is a specific person?</title><link>https://www.infopathdev.com:443/forums/thread/83916.aspx</link><pubDate>Fri, 26 Oct 2012 10:29:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83916</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83916.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83916</wfw:commentRss><description>&lt;p&gt;For example (other variants are possible) , set a formatting rule on your approve button in Infopath Designer:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Home tab on ribbon &amp;gt; Manage Rules &amp;gt; New &amp;gt; Formatting &amp;gt; Hide this control (and/or Disable this control) with &amp;quot;Condition:&amp;quot; there that user is not that specific one &lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;How you work with and manage users depends (is it filler or browser form,&amp;nbsp; 2007 or 2010)&lt;/p&gt;&lt;p&gt;You can prefer &lt;a href="http://www.infopathdev.com/forums/p/23065/82140.aspx#82140" title="How to get values from sharepoint User Profile in Infopath (Gennady Vanin)"&gt;to use&amp;nbsp; sharepoint built-in &lt;/a&gt;&lt;span style="font-family:Verdana;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:left;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;float:none;"&gt;&lt;a href="http://www.infopathdev.com/forums/p/23065/82140.aspx#82140" title="How to get values from sharepoint User Profile in Infopath (Gennady Vanin)"&gt;UserProfileService.asmx web service&lt;/a&gt; or other methods&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;userName()&lt;/b&gt; will give you local logged-in username on client machine operating system and sharepoint accountname username from browser&lt;/p&gt;&lt;p&gt;You can create a helper datafield (without control) setting there username for creating a condition in the rule&lt;/p&gt;&lt;p&gt;I enclosed athe template demonstrating it (for a local username Administrator). Probably to fit with a situation of a form in browser, you simply can add &amp;quot;Or&amp;quot;-check in condition&lt;br /&gt;&lt;/p&gt;</description></item><item><title>please help... how to hide a button unless it is a specific person?</title><link>https://www.infopathdev.com:443/forums/thread/83914.aspx</link><pubDate>Fri, 26 Oct 2012 09:09:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83914</guid><dc:creator>luke20</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83914.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83914</wfw:commentRss><description>I need to have my form done by the end of today, and for security the approve button on the form must be hidden unless it is a specific person in the organisation who opens the form. How would&amp;nbsp;i set up a formatting rule on this button to say if not this person then hide this control ? thanks</description></item></channel></rss>