Table of Contents

Class OverrideAuthorizationAttribute

Namespace
System.Web.Http
Assembly
System.Web.Http.dll

Represents a filter attribute that overrides authorization filters defined at a higher level.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
public sealed class OverrideAuthorizationAttribute : Attribute, IOverrideFilter, IFilter
Inheritance
OverrideAuthorizationAttribute
Implements
Inherited Members

Constructors

OverrideAuthorizationAttribute()

Initializes a new instance of the OverrideAuthorizationAttribute class.

public OverrideAuthorizationAttribute()

Properties

AllowMultiple

Gets or sets a Boolean value indicating whether more than one instance of the indicated attribute can be specified for a single program element.

public bool AllowMultiple { get; }

Property Value

bool

true if more than one instance is allowed to be specified; otherwise, false.

FiltersToOverride

Gets the type to filters override attributes.

public Type FiltersToOverride { get; }

Property Value

Type

The type to filters override attributes.