<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>Enabling Roles in ASP.NET v2.0</title><link>http://weblogs.asp.net/owscott/archive/2005/08/19/Enabling-Roles-in-ASP.NET-v2.0.aspx</link><description>By default the Roles provider is defined in machine.config but it isn&amp;#39;t enabled. Attempting to use the Roles feature before it is enabled will throw the following error: &amp;quot; The Role Manager feature has not been enabled.&amp;quot; It&amp;#39;s easy to</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Enabling Roles in ASP.NET v2.0</title><link>http://weblogs.asp.net/owscott/archive/2005/08/19/Enabling-Roles-in-ASP.NET-v2.0.aspx#2997567</link><pubDate>Sun, 01 Jul 2007 22:47:03 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2997567</guid><dc:creator>Chris Lively</dc:creator><author>Chris Lively</author><description>&lt;p&gt;The easy way to pick a roleprovider at runtime is the following:&lt;/p&gt;
&lt;p&gt;RoleProvider rp = Roles.Providers[&amp;quot;myroleprovider&amp;quot;];&lt;/p&gt;
&lt;p&gt;then just use the rp object instead of the Roles static class.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2997567" width="1" height="1"&gt;</description></item><item><title>re: Enabling Roles in ASP.NET v2.0</title><link>http://weblogs.asp.net/owscott/archive/2005/08/19/Enabling-Roles-in-ASP.NET-v2.0.aspx#478979</link><pubDate>Wed, 23 Aug 2006 17:22:09 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:478979</guid><dc:creator>Prahalad</dc:creator><author>Prahalad</author><description>&lt;p&gt;How do i change the roleprovide at runtime? It is taking the default role providers but not the one that is required for the membership provider. I have 2 membership provider and 2 rolemanager providers, based on the membership provider rolemanager provider should also be changed dynamicaly.&lt;/p&gt;
&lt;p&gt;Could u please give solution or suggestions for the same.&lt;/p&gt;
&lt;p&gt;prahalad.keerni@prithvisolutions.com&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=478979" width="1" height="1"&gt;</description></item></channel></rss>