Top "Roleprovider" questions

Built-in and custom implementations of ASP.

The Role Manager feature has not been enabled

Got the following ProviderException : The Role Manager feature has not been enabled. So far so good. Is there somewhere a …

c# asp.net roleprovider
ASP.NET MVC redirect to an access denied page using a custom role provider

I'm creating a custom role provider and I set a Authorize attribute specifying a role in my controller and it's …

asp.net-mvc asp.net-membership roleprovider
Authorization using active directory role provider MVC4

I'm building a MVC4 application for internal use in a corporate enviroment. I use windows authentication, which works fine, but …

asp.net-mvc-4 web-config authorization roleprovider
C# - Forms Authentication Code-Behind w Custom Role and Membership Providers

Unfortunately, all the examples for Forms Authentication Code Behind w/ Custom Role and Membership Providers I find online are written …

c# asp.net forms-authentication membership-provider roleprovider
Override the User.IsInRole and [Authorize(Roles = "Admin")] for MVC4 application

I have created a custom role provider for my MVC4 application where I have been successfully able to override CreateRole, …

asp.net-mvc-4 authorization roleprovider isinrole
Specifying Roles in web.config of an asp.net MVC application

I am creating an MVC application with forms auth. I am authenticating against active directory and so have created a …

asp.net-mvc asp.net-mvc-3 web-config roleprovider
How to setup OWIN with Windows authentication and a custom role provider

In MVC4 I enabled <authentication mode="Windows"/> in the web.config and created a custom role provider which …

authentication roleprovider asp.net-mvc-5 windows-identity owin
Do I need to update all the methods of an abstract class?

I need to inherit from a basic abstract class. I want to override only one method. But Visual Studio oblige …

c# inheritance abstract-class roleprovider
Default Role Provider could not be found when using SimpleMembershipProvider

I'm trying to get authorization working on asp.net mvc4, so I try to use WebSecurity. WebSecurity.InitializeDatabaseConnection("tradefairindia", "Users", "…

asp.net-mvc-4 roleprovider