Controller.OnAuthorization Method
Called when authorization occurs.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overridable Sub OnAuthorization ( _
filterContext As AuthorizationContext _
)
protected virtual void OnAuthorization(
AuthorizationContext filterContext
)
protected:
virtual void OnAuthorization(
AuthorizationContext^ filterContext
)
Parameters
- filterContext
Type: System.Web.Mvc.AuthorizationContext
Information about the current request and action.