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.
Assembly: Microsoft.Azure.Mobile.Server (in Microsoft.Azure.Mobile.Server.dll)
System.Attribute
System.Web.Http.Filters.FilterAttribute
System.Web.Http.Filters.AuthorizationFilterAttribute
System.Web.Http.AuthorizeLevelAttribute
| Name | Description | |
|---|---|---|
![]() | AuthorizeLevelAttribute(AuthorizationLevel) | Initializes a new version of the AuthorizeLevelAttribute with a given level. |
| Name | Description | |
|---|---|---|
![]() | AllowMultiple | (Inherited from FilterAttribute.) |
![]() | Level | The minimum authorization level required to access the resource. |
![]() | TypeId | (Inherited from Attribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Attribute.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object) | (Inherited from Attribute.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnAuthorization(HttpActionContext) | |
![]() | OnAuthorizationAsync(HttpActionContext, CancellationToken) | (Inherited from AuthorizationFilterAttribute.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | IAuthorizationFilter.ExecuteAuthorizationFilterAsync(HttpActionContext, CancellationToken, Func<Task<HttpResponseMessage>>) | (Inherited from AuthorizationFilterAttribute.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




