RoleManagerEventArgs(HttpContext) Constructor

Definition

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

C#
public RoleManagerEventArgs(System.Web.HttpContext context);

Parameters

context
HttpContext

The HttpContext of the current request.

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also