Export (0) Print
Expand All

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|AttributeTargets::Method, Inherited = true, 
	AllowMultiple = true)]
public ref class AuthorizeAttribute : public FilterAttribute, 
	IAuthorizationFilter

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

System::Object
  System::Attribute
    System.Web.Mvc::FilterAttribute
      System.Web.Mvc::AuthorizeAttribute

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

Show:
© 2014 Microsoft