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)
Syntax
Task<WebSpacesCreatePublishingUserResponse> CreatePublishingUserAsync(
string username,
string password,
WebSpacesCreatePublishingUserParameters parameters,
CancellationToken cancellationToken
)
Task<WebSpacesCreatePublishingUserResponse^>^ CreatePublishingUserAsync(
String^ username,
String^ password,
WebSpacesCreatePublishingUserParameters^ parameters,
CancellationToken cancellationToken
)
abstract CreatePublishingUserAsync :
username:string *
password:string *
parameters:WebSpacesCreatePublishingUserParameters *
cancellationToken:CancellationToken -> Task<WebSpacesCreatePublishingUserResponse>
Function CreatePublishingUserAsync (
username As String,
password As String,
parameters As WebSpacesCreatePublishingUserParameters,
cancellationToken As CancellationToken
) As Task(Of WebSpacesCreatePublishingUserResponse)
Parameters
username
Type: System.StringThe source control user name.
password
Type: System.StringThe source control user password.
parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSpacesCreatePublishingUserParametersThe WebSpacesCreatePublishingUserParameters object that contains the parameters that are used to a source control user.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<WebSpacesCreatePublishingUserResponse>
An WebSpacesCreatePublishingUserResponse object that contains the status of the operation.
See Also
IWebSpaceOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace
Return to top