AuthorizeAttribute Class

Represents an attribute that is used to restrict access by callers to an action method.

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

<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method, Inherited := True,  _
	AllowMultiple := True)> _
Public Class AuthorizeAttribute _
	Inherits FilterAttribute _
	Implements IAuthorizationFilter
Dim instance As AuthorizeAttribute

For more information about how to use attributes, see Extending Metadata Using Attributes.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions