<?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: Dynamic labels</title><link>https://www.infopathdev.com:443/forums/thread/34581.aspx</link><pubDate>Thu, 20 Nov 2008 12:46:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34581</guid><dc:creator>chandrakanth</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=34581</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In code use the below statement for getting the user&amp;#39;s current role.&lt;/p&gt;
&lt;p&gt;string role = thisXDocument.Role;&lt;/p&gt;</description></item><item><title>Re: Dynamic labels</title><link>https://www.infopathdev.com:443/forums/thread/34531.aspx</link><pubDate>Wed, 19 Nov 2008 22:59:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34531</guid><dc:creator>srinivasan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34531.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=34531</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Please let me know how to get the user role of current user. I would like to get the user role with or without code. either way is okay for me. Thanks.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Dynamic labels</title><link>https://www.infopathdev.com:443/forums/thread/32713.aspx</link><pubDate>Thu, 02 Oct 2008 05:47:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32713</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32713.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=32713</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Hi,&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;By using expression box and some conditional formatting you can solve your problem.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;For example, if you have want to show ‘text1’ for manager and ‘text2’ for ‘engineer’ role.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Add two expression box with the above text. And put the conditional formatting for first expression box as User’s current role != manager then hide the control.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;In the same way put the conditional formatting for second expression box as User’s current role != ‘engineer’ then hide the control.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Hope this will be useful to you.&lt;/font&gt;&lt;/p&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Dynamic labels</title><link>https://www.infopathdev.com:443/forums/thread/32697.aspx</link><pubDate>Wed, 01 Oct 2008 14:00:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32697</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32697.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=32697</wfw:commentRss><description>&lt;p&gt;I am creating a form containing between 8 and 12 questions, the number of questions and the specfic question depends on the users role in the organization, i.e, the managers see 12 questions and the engineers see 10 questions. Some of the questions are the same for each role and others are role specific. All of the questions have the same choice list of valid answers. My initial idea is to create different static views for each role, but I was wondering if I should try to do something more dynamic. I was wondering if is possible to display different text for each role dynamically. any thoughts or suggestions on this would be appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dean&lt;/p&gt;</description></item></channel></rss>