Share via


ChildActionOnlyAttribute.OnAuthorization(AuthorizationContext) Method

Definition

Called when authorization is required.

public void OnAuthorization (System.Web.Mvc.AuthorizationContext filterContext);
abstract member OnAuthorization : System.Web.Mvc.AuthorizationContext -> unit
override this.OnAuthorization : System.Web.Mvc.AuthorizationContext -> unit
Public Sub OnAuthorization (filterContext As AuthorizationContext)

Parameters

filterContext
AuthorizationContext

An object that encapsulates the information that is required in order to authorize access to the child action.

Implements

Applies to