RequiresAuthorizationAttribute Constructor (AuthorizationLevel)
Initialize a new instance of the RequiresAuthorizationAttribute with a given level.
Namespace: Microsoft.WindowsAzure.Mobile.Service.Security
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Syntax
public RequiresAuthorizationAttribute(
AuthorizationLevel level
)
public:
RequiresAuthorizationAttribute(
AuthorizationLevel level
)
new :
level:AuthorizationLevel -> RequiresAuthorizationAttribute
Public Sub New (
level As AuthorizationLevel
)
Parameters
level
Type: Microsoft.WindowsAzure.Mobile.Service.Security.AuthorizationLevelThe minimum authorization level required to access the resource.
Remarks
This attribute is obsolete, please use AuthorizeLevelAttribute instead.
See Also
RequiresAuthorizationAttribute Class
Microsoft.WindowsAzure.Mobile.Service.Security Namespace
Return to top