RoleManagerEventArgs Constructor (HttpContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

new : 
        context:HttpContext -> RoleManagerEventArgs

Parameters

context
Type: System.Web.HttpContext

The HttpContext of the current request.

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 the RoleManagerModule.

.NET Framework
Available since 2.0
Return to top
Show: