<?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 roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23918.aspx</link><pubDate>Tue, 23 Oct 2007 10:01:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23918</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23918.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23918</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;As far as I understand it it stops regardless of the outcome.&amp;nbsp; If you wanted to stop conditionally then make it conditional on another field, that should do it.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23911.aspx</link><pubDate>Tue, 23 Oct 2007 06:45:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23911</guid><dc:creator>caw01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23911.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23911</wfw:commentRss><description>&lt;p&gt;One question though.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;The stop processing box...&amp;nbsp; Is that stop processing if that rule was true, or just when it finishes that rule regardless of the outcome?&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23910.aspx</link><pubDate>Tue, 23 Oct 2007 06:44:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23910</guid><dc:creator>caw01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23910.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23910</wfw:commentRss><description>&lt;p&gt;Ok, in typing that previous message I started to get to where I needed to be.&amp;nbsp; I changed my default initiator rule so that it was not associated with a group..&amp;nbsp; That wasnt the fix, but seems to be working ok now.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The actual fix was a rule that had the stop processing box checked.&amp;nbsp; So it was changing a field value and then stopping.&amp;nbsp; So it did end up having an effect on my roles after all.&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23907.aspx</link><pubDate>Tue, 23 Oct 2007 05:31:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23907</guid><dc:creator>caw01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23907.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23907</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;caw01:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I created a rule &lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;Sorry, late night...&amp;nbsp; That is ROLE...</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23906.aspx</link><pubDate>Tue, 23 Oct 2007 05:21:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23906</guid><dc:creator>caw01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23906.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23906</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;caw01:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Did you set the default user as initiator?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Just making sure I didnt miss something in the terminology....&amp;nbsp; &amp;quot;default user&amp;quot;?&amp;nbsp; Here&amp;#39;s what I did.&amp;nbsp; I created a rule that is associated with an AD group and made it the default/initiator rule.&amp;nbsp; The AD group is kind of like an all users group.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Then I have a view that is specified as the default view.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I have a second rule that is associated&amp;nbsp;with the nt\administrators group.&amp;nbsp; Then on the Form properties I have an Open and Save rule that says if the &amp;quot;users role&amp;quot; = &amp;quot;nt administrators role&amp;quot; ACTION switch views to Admin View.&lt;/p&gt;
&lt;p&gt;when I open a new form it opens to the new entry view user role.&amp;nbsp; After I save it, and then reopen it, it is still opening it up to the same view.&amp;nbsp; I am an admin, so it should open to the admin view.&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23905.aspx</link><pubDate>Tue, 23 Oct 2007 04:42:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23905</guid><dc:creator>caw01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23905.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23905</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Patrick Halstead:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;div&gt;Did you set the default user as initiator? If you did, new forms will get that role. Have you tried opening existing forms - do they get set to other user roles (note: you probably already know to look in lower right corner of status bar for the role info)&lt;/div&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp; Actually, I did not know that.&amp;nbsp; I have basically removed all of my opening rules except for 2 that should not have any effect on the views and added only one to change views if you are in the admin group.&amp;nbsp; No matter what, my form is opening with the initiator view using that role.&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Patrick Halstead:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Did you make sure that the open rules stopped being applied after the first user role match? If you have several rules, it&amp;#39;s possible that a user belongs to multiple groups, or it&amp;#39;s possible that the last rule always succeeds. You should check the box to stop processing rules when one of the rules succeeds since that will switch to the correct view.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;Yes, I did have them set to stop processing which is why I figured it was not reading my group memberships.&lt;/p&gt;
&lt;p&gt;On the other note.&amp;nbsp; I did try out the example button in the download documentation.&amp;nbsp; It did return a lot of information, but I&amp;#39;m not sure what to do with it.&amp;nbsp; I must have been using the wrong webservice, but I have not yet figure out how to make it determine my group membership.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I&amp;#39;m working both fronts at this point...&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23868.aspx</link><pubDate>Sun, 21 Oct 2007 02:21:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23868</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23868.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23868</wfw:commentRss><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;The AD Web service functionality will provide more information from Active Directory, but you don&amp;#39;t need the AD Web service to switch views based on AD group. Here are a couple ideas for why you might have experienced the problem mentioned in your first few posts:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Did you set the default user as initiator? If you did, new forms will get that role. Have you tried opening existing forms - do they get set to other user roles (note: you probably already know to look in lower right corner of status bar for the role info)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Did you make sure that the open rules stopped being applied after the first user role match? If you have several rules, it&amp;#39;s possible that a user belongs to multiple groups, or it&amp;#39;s possible that the last rule always succeeds. You should check the box to stop processing rules when one of the rules succeeds since that will switch to the correct view.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23865.aspx</link><pubDate>Sat, 20 Oct 2007 09:29:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23865</guid><dc:creator>caw01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23865.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23865</wfw:commentRss><description>&lt;p&gt;I found the docs.&amp;nbsp; Thank you.&amp;nbsp; I will be testing it this weekend.&amp;nbsp; Thanks again!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23862.aspx</link><pubDate>Fri, 19 Oct 2007 22:50:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23862</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23862.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23862</wfw:commentRss><description>&lt;p&gt;Ok well I would look at these tutorials.&lt;/p&gt;
&lt;li&gt;&lt;a href="http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=848" target="_blank"&gt;AD Service: How-To Set Field to GetMyInfo Result&lt;/a&gt; 
&lt;li&gt;&lt;a href="http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=683" target="_blank"&gt;AD Service: How-To Query GetUserInfo&lt;/a&gt; &lt;/li&gt;
&lt;p&gt;I think the best method is take a blank form. Add the web service three times for each of the methods.&amp;nbsp; Then drag the repeating groups and fields on to your form and some buttons to query each and then play with it in preview.&lt;/p&gt;
&lt;p&gt;Test putting in different query values and seeing what is returned.&lt;/p&gt;
&lt;p&gt;Then you should be able to figure out exactly what you need for your form solution.&lt;/p&gt;
&lt;p&gt;You could either create a data connection for each group you need to check or run the query, process the result&amp;nbsp;and then change the group query parameter and run it again.&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23860.aspx</link><pubDate>Fri, 19 Oct 2007 22:23:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23860</guid><dc:creator>caw01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23860.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23860</wfw:commentRss><description>&lt;p&gt;Ok, Installed, the demo.&amp;nbsp; I&amp;#39;m just not sure how to setup the data connection to read it...&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23842.aspx</link><pubDate>Fri, 19 Oct 2007 16:46:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23842</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23842.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23842</wfw:commentRss><description>&lt;p&gt;Yes I think the best explanation is that you are not getting any role information.&lt;/p&gt;
&lt;p&gt;That was where I was thinking you could try and prove this by displaying the information.&lt;/p&gt;
&lt;p&gt;The AD webservice is pretty simple. Install it on a box with IIS.&amp;nbsp; Then you just setup a receive web service data connection which will give you either the username or you can get a true false on membership to a specific group. Which is probably what you are looking for. Then you can just use the logic off of the true or false value.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/dbxldownload/entry22386.aspx" target="_blank"&gt;Qdabra Database Accelerator Suite Version 2.1.2815 - Developer&lt;/a&gt;&amp;nbsp;with this you get the webservice plus a bunch of other web services.&lt;/p&gt;
&lt;p&gt;You can purchase the AD webservice by itself here. http://www.qdabra.com/en/products/ADWebService.aspx&lt;a href="http://www.qdabra.com/proddetail.asp?prod=QADWS"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23841.aspx</link><pubDate>Fri, 19 Oct 2007 16:35:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23841</guid><dc:creator>caw01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23841.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23841</wfw:commentRss><description>&lt;p&gt;I am using instructions provided by MSDN, and the open form rules says to check the users role and switch views based on that criteria.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms788207.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms788207.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Ok, I will keep playing with it.&amp;nbsp; I can&amp;#39;t see why it is not working at this point.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;How would I use the AD Web service to identify a form user?&amp;nbsp; I&amp;#39;ve tried doing this with control sections as well but I have the same problem, which makes me think it is not reading the users roles at all.&lt;/p&gt;
&lt;p&gt;Thansk for the assistance by the way, I do appreciate it.&amp;nbsp; I&amp;#39;m just baffled, not arguing...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- chris&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23839.aspx</link><pubDate>Fri, 19 Oct 2007 16:04:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23839</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23839</wfw:commentRss><description>&lt;p&gt;Hey Chris.&lt;/p&gt;
&lt;p&gt;Expression boxes are an action type where you can pop an alert box with a value or formula.&amp;nbsp; This is often nice for debuging if you are only developing in InfoPath since you can order them to see the values before and after the actions you are trying to implement.&lt;/p&gt;
&lt;p&gt;I am not real familiar with roles but they may not get checked before the open rules are fired. They may get checked next.&amp;nbsp; They are typically used to filter content and not to show different views.&amp;nbsp; I think the standard design is you have one view and then use roles to specify what each role sees from the view.&lt;/p&gt;
&lt;p&gt;I have used both SharePoint and the Active Directory web service to identify a form user by a data connection, which complete before the Open Rules. Then based on the form user or their group membership I can put in the logic to route them to specific views. That was what I was referring to.&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23838.aspx</link><pubDate>Fri, 19 Oct 2007 15:49:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23838</guid><dc:creator>caw01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23838.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23838</wfw:commentRss><description>&lt;p&gt;And if it didnt check the roles when you opened the form, what would be the purpose of the roles?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: User roles do not appear to be working</title><link>https://www.infopathdev.com:443/forums/thread/23837.aspx</link><pubDate>Fri, 19 Oct 2007 15:41:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23837</guid><dc:creator>caw01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23837.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23837</wfw:commentRss><description>&lt;p&gt;Ok, forgive me, I&amp;#39;m not very advance with this...&amp;nbsp; What type of expression boxes and what would they do?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- Chris&lt;/p&gt;</description></item></channel></rss>