AuthorizeAttribute.AuthorizeCore Method

Visual Studio 2010

Determines whether access to the core framework is authorized.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

No code example is currently available or this language may not be supported.

Parameters

httpContext
Type: System.Web.HttpContextBase
The HTTP context, which encapsulates all HTTP-specific information about an individual HTTP request.

Return Value

Type: System.Boolean
true if access is authorized; otherwise, false.

ExceptionCondition
ArgumentNullException

The httpContext parameter is a null reference (Nothing in Visual Basic).

The httpContext object contains information about the server, session, request, user, application, and more.

Community Additions

ADD
Show: