Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ..."The Role Manager feature has not been enabled""The Role Manager feature has not been enabled"
Previous
 
Next
New Post
6/22/2006 5:34 PM
 
I have a module that I created in which I make a call to the Roles.IsUserInRole function in the page load event.  This module worked fine in version 4.0.3.  In version 4.3.1, the module does not display ("Error: <module name> is currently unavailable.").  Checking the log, it says the problem is with the System.Web.Security.Roles.IsUserInRole method.  The InnerException is "The Role Manager feature has not been enabled."  What does that mean?  Is there some setting I need to configure in web.config?  I have a number of security roles defined, and they are working fine with both the core modules and other custom modules I have created.  It's just the module where I call IsUserInRole that is a problem.  Any ideas?
 
New Post
6/23/2006 12:27 PM
 
I figured it out.  I guess I forgot to copy over the roleManager section from my web.config when I upgraded to 4.3.1.
 
New Post
4/10/2007 4:29 AM
 
Sorry how i can resolve that problem? I have your same problem.
Thanks
 
New Post
4/10/2007 1:36 PM
 

As I said, in my case the problem was simply that I had forgotten to copy over the <roleManager> section from the old web.config file to the new web.config file.

 
New Post
4/10/2007 2:26 PM
 

I think the namespace may have changed slightly. If you inherit from the PortalModuleBase, you should be able to use

If

Me.UserInfo.IsInRole("rolename") Then ...

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ..."The Role Manager feature has not been enabled""The Role Manager feature has not been enabled"


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out