Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

AllowAnonymousAttribute Class

Represents an attribute that marks controllers and actions to skip the AuthorizeAttribute during authorization.

System.Object
  System.Attribute
    System.Web.Mvc.AllowAnonymousAttribute

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, 
    Inherited = true)>]
type AllowAnonymousAttribute =  
    class 
        inherit Attribute 
    end

The AllowAnonymousAttribute type exposes the following members.

  NameDescription
Public methodAllowAnonymousAttributeInitializes a new instance of the AllowAnonymousAttribute class.
Top
  NameDescription
Public propertyTypeId (Inherited from Attribute.)
Top
  NameDescription
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.