<?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>Issue with User Roles</title><link>https://www.infopathdev.com:443/forums/thread/40212.aspx</link><pubDate>Wed, 01 Apr 2009 07:07:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40212</guid><dc:creator>anishaad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40212.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40212</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have three sets of user roles: Role 1, Role 2 and&amp;nbsp;Role 3 created in the InfoPath form. &lt;/p&gt;
&lt;p&gt;To Role 1, I have added two &lt;strong&gt;User Names&lt;/strong&gt;: User1 and User2&lt;/p&gt;
&lt;p&gt;To Role 2, I have added a &lt;strong&gt;group alias&lt;/strong&gt; : SalesUsers. &lt;strong&gt;User3 is part of SalesUsers&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Role 3 is my default user role.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a condition set which says : If User&amp;#39;s current role = Role 2, then open the Sales view. else it opens the default view.&lt;/p&gt;
&lt;p&gt;User 3 logs in, the default view opens up.&lt;/p&gt;
&lt;p&gt;I noticed this issue comes up when I use &lt;strong&gt;user names for the First role and group names for the second role&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If the first role and second role have user names added, the condition works fine. If both have group names added, then also they work fine.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;But if they are different i.e the first has user names added and the second has a group name added, or vice versa, then the issue crops up.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Could somebody let me know of anyway to solve this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Awaiting your reply!&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Anisha&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>