Share via


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

Remarks

This attribute is obsolete, please use AuthorizeLevelAttribute instead.

See Also

RequiresAuthorizationAttribute Class
Microsoft.WindowsAzure.Mobile.Service.Security Namespace

Return to top