RoleManagerEventArgs Constructor

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)

public RoleManagerEventArgs(
	HttpContext context
)

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 Boolean RolesPopulated property is used to enable or cancel creation of a RolePrincipal by the RoleManagerModule.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft