RoleManagerEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides event data for the GetRoles event of the RoleManagerModule class.
public ref class RoleManagerEventArgs sealed : EventArgs
public sealed class RoleManagerEventArgs : EventArgs
type RoleManagerEventArgs = class
inherit EventArgs
Public NotInheritable Class RoleManagerEventArgs
Inherits EventArgs
- Inheritance
Remarks
The RoleManagerEventArgs object provides event information to the GetRoles event of the RoleManagerModule class. The RoleManagerEventArgs object provides access to the HttpContext of the current request, and a Boolean
RolesPopulated property is used to enable or cancel creation of a RolePrincipal by the RoleManagerModule.
Constructors
RoleManagerEventArgs(HttpContext) |
Creates an instance of the RoleManagerEventArgs class and sets the Context property to the specified HttpContext. |
Properties
Context |
Gets the HttpContext for the current request. |
RolesPopulated |
Gets or sets a value indicating whether role information has been applied to the current user. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |