<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Hiding fields based on logged in user in InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/thread/56562.aspx</link><pubDate>Tue, 06 Jul 2010 15:34:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56562</guid><dc:creator>aliash</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56562.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=56562</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I just found this blog, and as it was something I&amp;#39;d been hunting for for ages I thought I&amp;#39;d share it :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;b&gt;&lt;span style="FONT-SIZE:9.5pt;COLOR:#30332d;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;Custom SharePoint User WebService V1.0 - (useful to switch views depending on the current user&amp;#39;s SharePoint groups in Infopath)&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE:9.5pt;COLOR:#30332d;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;&lt;br /&gt;Actually the WebService has only one method: GetUserGroupsFromCurrentUser(). This method simply returns the current user&amp;#39;s SharePoint Groups.&lt;br /&gt;But there&amp;#39;s a build-in SharePoint WebService which does the same?! Yes, that&amp;#39;s right! But the built-in service doesn&amp;#39;t work with &lt;b&gt;Infopath 2007&lt;/b&gt;!&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9.5pt;COLOR:#30332d;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;a href="http://ilovesharepoint.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=15260"&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font color="#800080"&gt;http://ilovesharepoint.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=15260&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:9.5pt;COLOR:#30332d;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;&lt;br /&gt;Read more: &lt;/span&gt;&lt;span style="FONT-SIZE:9.5pt;COLOR:#30332d;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;a href="http://cglessner.blogspot.com/2008/07/infopath-switch-view-depending-on.html"&gt;&lt;span style="mso-ansi-language:EN-US;"&gt;&lt;font color="#800080"&gt;http://cglessner.blogspot.com/2008/07/infopath-switch-view-depending-on.html&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span style="FONT-SIZE:9.5pt;COLOR:#30332d;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:9.5pt;COLOR:#30332d;FONT-FAMILY:&amp;#39;Segoe UI&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&amp;nbsp;</description></item><item><title>Re: Hiding fields based on logged in user in InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/thread/50205.aspx</link><pubDate>Tue, 29 Dec 2009 20:28:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50205</guid><dc:creator>Harlequin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50205.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=50205</wfw:commentRss><description>Awesome thanks for your help mate its much appreciated.</description></item><item><title>Re: Hiding fields based on logged in user in InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/thread/49986.aspx</link><pubDate>Thu, 17 Dec 2009 03:20:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49986</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49986.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=49986</wfw:commentRss><description>&lt;p&gt;Yes, you can utilize User Roles to do this very easily as long as it is rich client.&amp;nbsp; If it&amp;#39;s a browser form, then you can use my blog posts.&amp;nbsp; They are for 2007 but work in 2010:&lt;/p&gt;
&lt;li&gt;&lt;a title="InfoPath – User Roles in Browser-Enabled Forms Using AD&amp;nbsp;Groups" href="http://claytoncobb.wordpress.com/2009/07/19/infopath-user-roles-in-browser-enabled-forms-using-groups/"&gt;&lt;strong&gt;&lt;font color="#536d88"&gt;InfoPath&amp;nbsp;- User Roles in Browser-Enabled Forms Using AD&amp;nbsp;Groups&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="User Roles in Browser-Enabled InfoPath Forms Using Contacts&amp;nbsp;List" href="http://claytoncobb.wordpress.com/2009/06/14/user-roles-in-browser-enabled-forms/"&gt;&lt;strong&gt;&lt;font color="#536d88"&gt;InfoPath – User Roles in Browser-Enabled&amp;nbsp;Forms Using Contacts&amp;nbsp;List&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;p&gt;My 2nd method only retrieves Active Directory groups and not SharePoint groups.&amp;nbsp; To parse through SharePoint groups is tougher but can be done by using the UserGroup.asmx web service, but that whole idea is not &amp;quot;out of the box.&amp;quot;&lt;/p&gt;</description></item><item><title>Hiding fields based on logged in user in InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/thread/49918.aspx</link><pubDate>Tue, 15 Dec 2009 00:35:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49918</guid><dc:creator>Harlequin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49918.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=49918</wfw:commentRss><description>Hi all!

My experience with InfoPath is very limited (both in 2007 and 2010) so I was wondering what would be best practice to hide certain fields based on a logged in user.

Ideally I would like to hide fields based on the logged in users group membership and I was wondering if there is a way to do this out of the box.

Thanks in advance for any replies.

Cheers</description></item></channel></rss>