System.Web.Security.RoleProviderCollection Class

A collection of objects that inherit the System.Web.Security.RoleProvider abstract class.

See Also: RoleProviderCollection Members

Syntax

public sealed class RoleProviderCollection : System.Configuration.Provider.ProviderCollection

Remarks

The role providers for an application are exposed as a read-only System.Web.Security.RoleProviderCollection by the Roles.Providers property of the System.Web.Security.Roles class. You can access a specific role provider in the collection by name and cast it as the specific provider type, such as System.Web.Security.SqlRoleProvider. This enables you to manage role information from multiple data stores in a single application as well as access custom members of a role provider that are not part of the System.Web.Security.RoleProvider abstract class.

Requirements

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