IAuthorizationFilter.OnAuthorization Method
Called when authorization is required.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Sub OnAuthorization ( _
filterContext As AuthorizationContext _
)
void OnAuthorization(
AuthorizationContext filterContext
)
void OnAuthorization(
AuthorizationContext^ filterContext
)
Parameters
- filterContext
Type: System.Web.Mvc.AuthorizationContext
The filter context.