System.Web.Security.RoleProvider Class

Defines the contract that ASP.NET implements to provide role-management services using custom role providers.

See Also: RoleProvider Members

Syntax

public abstract class RoleProvider : System.Configuration.Provider.ProviderBase

Remarks

ASP.NET role management is designed to enable you to easily use a number of different role providers for your ASP.NET applications. You can use the supplied role providers that are included with the .NET Framework, or you can implement your own provider.

When implementing a custom role provider, you are required to inherit the System.Web.Security.RoleProvider abstract class.

There are two primary reasons for creating a custom role provider.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0