RoleManagerEventArgs Class
TOC
Collapse the table of content
Expand the table of content

RoleManagerEventArgs Class

 

Provides event data for the GetRoles event of the RoleManagerModule class.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.EventArgs
    System.Web.Security.RoleManagerEventArgs

public sealed class RoleManagerEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodRoleManagerEventArgs(HttpContext)

Creates an instance of the RoleManagerEventArgs class and sets the Context property to the specified HttpContext.

NameDescription
System_CAPS_pubpropertyContext

Gets the HttpContext for the current request.

System_CAPS_pubpropertyRolesPopulated

Gets or sets a value indicating whether role information has been applied to the current user.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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 BooleanRolesPopulated property is used to enable or cancel creation of a RolePrincipal by theRoleManagerModule.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft