IScheduledJobAuthorizationManager::IsAuthorized Method (HttpRequestMessage^, String^)

 

Determines whether a particular HttpRequestMessage is authorized to initiate the IScheduledJob identified by the jobName.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Security
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

bool IsAuthorized(
	HttpRequestMessage^ request,
	String^ jobName
)

Parameters

request
Type: System.Net.Http::HttpRequestMessage^

The HttpRequestMessage to evaluate.

jobName
Type: System::String^

The name of the IScheduledJob.

Return Value

Type: System::Boolean

true if the request is authorized, false otherwise.

Return to top
Show: