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)

Public Sub New (
	level As AuthorizationLevel
)

Parameters

level
Type: Microsoft.WindowsAzure.Mobile.Service.Security.AuthorizationLevel

The minimum authorization level required to access the resource.

This attribute is obsolete, please use AuthorizeLevelAttribute instead.

Return to top
Show: