RequiresAuthorizationAttribute(AuthorizationLevel) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initialize a new instance of the RequiresAuthorizationAttribute with a given level
.
public RequiresAuthorizationAttribute (Microsoft.WindowsAzure.Mobile.Service.Security.AuthorizationLevel level);
new Microsoft.WindowsAzure.Mobile.Service.Security.RequiresAuthorizationAttribute : Microsoft.WindowsAzure.Mobile.Service.Security.AuthorizationLevel -> Microsoft.WindowsAzure.Mobile.Service.Security.RequiresAuthorizationAttribute
Public Sub New (level As AuthorizationLevel)
Parameters
- level
- AuthorizationLevel
The minimum authorization level required to access the resource.
Remarks
This attribute is obsolete, please use System.Web.Http.AuthorizeLevelAttribute instead.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET