RoleProviderCollection Class
.NET Framework 2.0
A collection of objects that inherit the RoleProvider abstract class.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
System.Web.Security Namespace
Assembly: System.Web (in system.web.dll)
The role providers for an application are exposed as a read-only RoleProviderCollection by the Providers property of the Roles class. You can access a specific role provider in the collection by name and cast it as the specific provider type, such as 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 RoleProvider abstract class.
- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
System.Object
System.Configuration.Provider.ProviderCollection
System.Web.Security.RoleProviderCollection
System.Configuration.Provider.ProviderCollection
System.Web.Security.RoleProviderCollection
Reference
RoleProviderCollection MembersSystem.Web.Security Namespace
Other Resources
Understanding Role ManagementCommunity Additions
ADD
Show: