<?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>Re: user roles only allows one condition?</title><link>https://www.infopathdev.com:443/forums/thread/92303.aspx</link><pubDate>Mon, 19 Aug 2013 00:20:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92303</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92303.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92303</wfw:commentRss><description>&lt;p&gt;I would invert it. Assume that the Everyone user role is the default and make the read only view the default view.&lt;/p&gt;
&lt;p&gt;Only switch the supervisor view if they are in that group. You can still make supervisor the initiator, but it should be the lowest one in the list (i.e. #3). &lt;/p&gt;</description></item><item><title>Re: user roles only allows one condition?</title><link>https://www.infopathdev.com:443/forums/thread/92188.aspx</link><pubDate>Tue, 13 Aug 2013 21:45:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92188</guid><dc:creator>Doreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92188</wfw:commentRss><description>&lt;p&gt;User role order is: 1. Supervisor*, 2. HR, 3. Everyone&lt;/p&gt;&lt;p&gt;* Supervisor is set to default and initiator&lt;/p&gt;&lt;p&gt;&amp;nbsp;Form Option Rules on Open behavior&amp;nbsp; is if User&amp;#39;s current role is equal to &amp;quot;Everyone&amp;quot; Switch to view: AccessDenied&lt;/p&gt;</description></item><item><title>Re: user roles only allows one condition?</title><link>https://www.infopathdev.com:443/forums/thread/92159.aspx</link><pubDate>Tue, 13 Aug 2013 04:51:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92159</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92159.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92159</wfw:commentRss><description>&lt;p&gt;The order of user roles matters. What is your order?&lt;/p&gt;</description></item><item><title>user roles only allows one condition?</title><link>https://www.infopathdev.com:443/forums/thread/92155.aspx</link><pubDate>Mon, 12 Aug 2013 22:42:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92155</guid><dc:creator>Doreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92155</wfw:commentRss><description>&lt;p&gt;I am not really a newbie but I think this should be easy to answer&amp;nbsp; - although I can&amp;#39;t answer it so maybe it&amp;#39;s not :).&amp;nbsp; Here goes:&lt;/p&gt;&lt;p&gt;I have a question about user roles. I have 3 user roles:&lt;/p&gt;&lt;p&gt;1) Supervisors&lt;br /&gt;2) HR&lt;br /&gt;3) Everyone &lt;/p&gt;&lt;p&gt;If a user is not a member of Supervisors or HR I want the form to switch to Access Denied view on form load.&lt;/p&gt;&lt;p&gt;It seems to me the following rule should work but it doesn&amp;#39;t: &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt; 1&lt;/p&gt;&lt;p&gt;Condition:&lt;br /&gt;if current user role is not equal to Supervisor or &lt;br /&gt;if current user role is not equal to HR&lt;/p&gt;&lt;p&gt;Action:&lt;br /&gt;Switch to Access Denied view&lt;br /&gt;(This rule denies&amp;nbsp;Everyone AND&amp;nbsp;HR role access)&lt;br /&gt;---&lt;/p&gt;&lt;p&gt;The Rule I have in place that works is this:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt; 2&lt;/p&gt;&lt;p&gt;Condition:&lt;br /&gt;if current user role is equl to Everyone&lt;/p&gt;&lt;p&gt;Action:&lt;br /&gt;Switch to Access Denied view&lt;/p&gt;&lt;p&gt;(This rule seems to be working)&lt;/p&gt;&lt;p&gt;---&lt;/p&gt;&lt;p&gt;My question is why doesn&amp;#39;t the first rule example work?&amp;nbsp; when I add an &amp;quot;or&amp;quot; condition it ignores the 2nd condition (the &amp;quot;or&amp;quot;) and does not allow the HR role to view the form when it should.&lt;/p&gt;&lt;p&gt;My concern is that all users are members of Everyone so how can I be sure that they aren&amp;#39;t mistakenly singled out when they are a supervisor or HR member too?&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item></channel></rss>