<?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>User roles and dynamic distribution lists</title><link>https://www.infopathdev.com:443/forums/thread/47613.aspx</link><pubDate>Mon, 05 Oct 2009 23:50:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47613</guid><dc:creator>moggy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47613.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47613</wfw:commentRss><description>&lt;p&gt;I am wanting to use roles for some basic hiding of controls on the form.&lt;/p&gt;
&lt;p&gt;I can easily use a distribution&amp;nbsp; list which is manually maintained. However as this company is a multinational, all the of the really useful distribution lists are dynamic, based mainly on their buiness unit number held in active directory.&lt;/p&gt;
&lt;p&gt;In infopath if I try to use one of these lists to determine a users location it just seems to ignore it as it hold no direct link to the und user.&lt;/p&gt;
&lt;p&gt;I can quite easily determine the country a person is in, or their operation, but I can&amp;#39;t see a way to use this information to change a persons role. I could put in loads of conditional formatting based on this, but that would end up being messy with a lot of duplication and possibility for error.&lt;/p&gt;
&lt;p&gt;a) Does infopath really not handle this lists to determine a users role?&lt;/p&gt;
&lt;p&gt;b) If it doesn&amp;#39;t what would you suggest as an alternative.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>