<?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>InfoPath 2010 restrict access by id and userrole</title><link>https://www.infopathdev.com:443/forums/thread/117049.aspx</link><pubDate>Tue, 22 Aug 2017 14:30:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117049</guid><dc:creator>BrianAdams</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117049</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have attached a template with a switchboard (The requirements are transferring from an access database to InfoPath forms) The switchboard has command buttons that allow user to&amp;nbsp;access different views. Some buttons need to be restricted by user id and role. I am currently working on a command button &amp;quot;Step 2&amp;quot;. I am trying to setup rules that restrict access to only those personnel included in the &amp;quot;Managers&amp;quot; data connection which includes the fields &amp;quot;DOD ID Number&amp;quot; (which we can parse from the users CAC), and &amp;quot;Manager Role(s)&amp;quot; which can include &amp;quot;Program Manager&amp;quot; as a role. So my questions is how do I set the rule to only allow the users with matching &amp;quot;DOD ID Number&amp;quot;s and are &amp;quot;Program Managers&amp;quot; to enable the &amp;quot;Step 2&amp;quot; command button. I believe I had this working when I was only checking the &amp;quot;DOD ID Number&amp;quot;. Any assistance will be appreciated, thank you in advance&lt;/p&gt;</description></item></channel></rss>