IWebSpaceOperations.CreatePublishingUserAsync Method (String, String, WebSpacesCreatePublishingUserParameters, CancellationToken)

 

Asynchronously creates a source control user that is allowed to publish to the web space.

Namespace:   Microsoft.WindowsAzure.Management.WebSites
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Task<WebSpacesCreatePublishingUserResponse> CreatePublishingUserAsync(
	string username,
	string password,
	WebSpacesCreatePublishingUserParameters parameters,
	CancellationToken cancellationToken
)

Parameters

username
Type: System.String

The source control user name.

password
Type: System.String

The source control user password.

parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSpacesCreatePublishingUserParameters

The WebSpacesCreatePublishingUserParameters object that contains the parameters that are used to a source control user.

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token.

Return Value

Type: System.Threading.Tasks.Task<WebSpacesCreatePublishingUserResponse>

An WebSpacesCreatePublishingUserResponse object that contains the status of the operation.

Return to top
Show: