UpdateActionDescriptor.Authorize Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Runs the authorization filters for the action synchronously.
Namespace: System.Web.Http.Data
Assembly: System.Web.Http.Data (in System.Web.Http.Data.dll)
Syntax
'Declaration
Public Function Authorize ( _
context As HttpActionContext _
) As Boolean
public bool Authorize(
HttpActionContext context
)
public:
bool Authorize(
HttpActionContext^ context
)
member Authorize :
context:HttpActionContext -> bool
public function Authorize(
context : HttpActionContext
) : boolean
Parameters
- context
Type: System.Web.Http.Controllers.HttpActionContext
The action execution context.
Return Value
Type: System.Boolean
true if the action is authorized; otherwise, false.