Role management consists of a set of classes and interfaces that establish roles for the current user and manage role information. The following table shows the role management classes and functions that they provide.
Class/Interface | Functions | ||
---|---|---|---|
Provides general management facilities for roles. |
Creates roles. Adds users to roles. Determines whether specific user is in role. Gets roles for users. Removes users from role. Manages the cookie containing role information.
|
||
Defines functionality for data providers that can be used by role-management services. |
Defines the functionality a provider must implement to be used by the Roles class. |
||
Adds role information to the current User property. |
Automatically creates a Raises a |
||
Defines arguments passed to the RoleManager_GetRoles event. |
Provides access to the current user context during the GetRoles event. |
||
RolePrincipal Acts as a |
Stores role information for the current user. Manages retrieval of role information from either the cookie or the database (or both, if necessary). |
See Also
Concepts
Understanding Role ManagementRole Management Providers