<?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: User Role Problem</title><link>https://www.infopathdev.com:443/forums/thread/19824.aspx</link><pubDate>Mon, 14 May 2007 07:01:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19824</guid><dc:creator>liorlankril</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19824.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19824</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font face="David" size="3"&gt;yes! I try this test on new blank form, and I put in this form only one Textbox and only one user role that contain only one user. On the first time I put my username in the role, and in seconde tiome I put other username. Bu in both case the shading was orange!!!!!&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: User Role Problem</title><link>https://www.infopathdev.com:443/forums/thread/19804.aspx</link><pubDate>Mon, 14 May 2007 05:42:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19804</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19804.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19804</wfw:commentRss><description>&lt;p&gt;Interesting.&amp;nbsp; I am using InfoPath 2007.&amp;nbsp; &lt;/p&gt;&lt;p&gt;So it is seeing you as both a member and not a member of the same role, therefore the expression = true and the orange both times.&lt;/p&gt;&lt;p&gt;Did you try a new blank form and do this from scratch?&amp;nbsp; If not,&amp;nbsp;I would verify this. Sometimes there can be other rules or conditions at play.&lt;/p&gt;&lt;p&gt;Hopefully someone else has some ideas.&lt;/p&gt;</description></item><item><title>Re: User Role Problem</title><link>https://www.infopathdev.com:443/forums/thread/19803.aspx</link><pubDate>Mon, 14 May 2007 05:33:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19803</guid><dc:creator>liorlankril</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19803.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19803</wfw:commentRss><description>I did exactly the test you did and in bpth case I get orange shading</description></item><item><title>Re: User Role Problem</title><link>https://www.infopathdev.com:443/forums/thread/19802.aspx</link><pubDate>Mon, 14 May 2007 04:53:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19802</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19802.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19802</wfw:commentRss><description>&lt;p&gt;OK I got it now, I was a bit confused on which users you were refering to where.&lt;/p&gt;&lt;p&gt;I personally have never used roles. I have always either used a employee&amp;#39;s department or some other data as the condition but as far as I know they work.&amp;nbsp; If you have one user you could check for them explicitly although I believe you are having some issues getting their user name from your other post.&lt;/p&gt;&lt;p&gt;I will assume you are using the lookup to specify the user and it includes the domain name.&amp;nbsp; I believe it also needs to be the initiator. &lt;/p&gt;&lt;p&gt;I just created a blank form, created a &amp;quot;test&amp;quot; role that was Yes for Default and Yes for Initiator and put my account in as a member.&amp;nbsp; I set a conditional format for User role is equal to &amp;quot;test&amp;quot; shade the field orange. Preview - &amp;gt; the field was orange. I went back to design and switched it to user role not equal shade orange. Preview -&amp;gt; not orange.&lt;/p&gt;&lt;p&gt;I would check the initiator and do some simple tests.&amp;nbsp; I am not sure if there is a way to display the users role, I am guessing their probably is, but either the role is not getting turned on when the form is opened or it is not set up right.&lt;/p&gt;&lt;p&gt;I would do some basic testing and work your way back into it.&lt;/p&gt;</description></item><item><title>Re: User Role Problem</title><link>https://www.infopathdev.com:443/forums/thread/19801.aspx</link><pubDate>Mon, 14 May 2007 04:41:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19801</guid><dc:creator>liorlankril</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19801.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19801</wfw:commentRss><description>&lt;p&gt;Hi Clay Fox! you undrastand the oposit from what I mean:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I want that who is &lt;strong&gt;NOT&lt;/strong&gt;&amp;nbsp;a member of the &amp;quot;Office&amp;quot; role, to have the field read-only. That&amp;#39;s why I wrote my role to be if role is &lt;strong&gt;NOT&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;&lt;u&gt;&lt;em&gt;equal&lt;/em&gt;&lt;/u&gt;&lt;/strong&gt; to Office than read-only.&lt;/p&gt;&lt;p&gt;But it&amp;#39;s not work! When everyone open the form (also user which is&amp;nbsp; not mebers of the role) can write!!!!&lt;/p&gt;&lt;p&gt;the problem is the role is default role&amp;nbsp;and I aske&amp;nbsp;about current role..... but ofcurse it will always be the current role! there are no more roles.... Am I write?&lt;/p&gt;&lt;p&gt;How to fix it?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: User Role Problem</title><link>https://www.infopathdev.com:443/forums/thread/19799.aspx</link><pubDate>Mon, 14 May 2007 04:18:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19799</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19799</wfw:commentRss><description>&lt;p&gt;If I understand correct you want the user, who is a member of the Office role, to have the field read-only, and everyone else who is not in Office can write to it.&amp;nbsp; If this is the case than you would want your rule to be if role is&amp;nbsp;&lt;strong&gt;&lt;u&gt;&lt;em&gt;equal&lt;/em&gt;&lt;/u&gt;&lt;/strong&gt; to Office than read-only.&amp;nbsp; As you have it stated above, anyone who is not in the Office role, anyone but the user you mention, would have the field read-only.&amp;nbsp; Memebers of would be the only ones who could write to the field.&lt;/p&gt;&lt;p&gt;Let me know if I am not understanding this correctly.&lt;/p&gt;</description></item><item><title>User Role Problem</title><link>https://www.infopathdev.com:443/forums/thread/19795.aspx</link><pubDate>Sun, 13 May 2007 08:35:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19795</guid><dc:creator>liorlankril</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19795.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19795</wfw:commentRss><description>&lt;p&gt;I have in my InfoPath form a TextBox control. I want this TextBox to be Enable only to specifice users!!!!&lt;/p&gt;&lt;p&gt;&amp;nbsp;I created a User role called &amp;quot;Office&amp;quot; and I defind the specific users to this role. (I have only 1 user role so this one is default)&lt;/p&gt;&lt;p&gt;On the TextBox-&amp;gt;Display tab -&amp;gt; Conditional Formatting -&amp;gt; I add the condition &amp;quot;If User&amp;#39;s current role Is not equal to &amp;quot;Office&amp;quot; than -&amp;gt; checked the Read-only checkbox&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The problem is if user that contained in the list of user for &amp;quot;Office&amp;quot; role open the form, he can write into the TextBox!!!!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Why? How does it works?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>