AuthorizeLevelAttribute Class

 

Apply this attribute to ApiController actions or controllers to control access to them. Based on the AuthorizationLevel specified, access to the target action will be restricted to requests that have been granted that level or higher.

Namespace:   System.Web.Http
Assembly:  Microsoft.Azure.Mobile.Server (in Microsoft.Azure.Mobile.Server.dll)


[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Method, 
	AllowMultiple = false, Inherited = true)]
public class AuthorizeLevelAttribute : AuthorizationFilterAttribute

NameDescription
System_CAPS_pubmethodAuthorizeLevelAttribute(AuthorizationLevel)

Initializes a new version of the AuthorizeLevelAttribute with a given level.

NameDescription
System_CAPS_pubpropertyAllowMultiple

(Inherited from FilterAttribute.)

System_CAPS_pubpropertyLevel

The minimum authorization level required to access the resource.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

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

Return to top
Show: