AuthorizeAttribute.IsAuthorized Method (HttpActionContext)
Indicates whether the specified control is authorized.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
protected virtual bool IsAuthorized(
HttpActionContext actionContext
)
protected:
virtual bool IsAuthorized(
HttpActionContext^ actionContext
)
abstract IsAuthorized :
actionContext:HttpActionContext -> bool
override IsAuthorized :
actionContext:HttpActionContext -> bool
Protected Overridable Function IsAuthorized (
actionContext As HttpActionContext
) As Boolean
Parameters
actionContext
Type: System.Web.Http.Controllers.HttpActionContextThe context.
Return Value
Type: System.Boolean
true if the control is authorized; otherwise, false.
See Also
AuthorizeAttribute Class
System.Web.Http Namespace
Return to top