WebSpaceOperationsExtensions.CreatePublishingUserAsync Method (IWebSpaceOperations, String, String, WebSpacesCreatePublishingUserParameters)
Creates a source control user with permissions to publish to this web space.
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
public static Task<WebSpacesCreatePublishingUserResponse> CreatePublishingUserAsync(
this IWebSpaceOperations operations,
string username,
string password,
WebSpacesCreatePublishingUserParameters parameters
)
public:
[ExtensionAttribute]
static Task<WebSpacesCreatePublishingUserResponse^>^ CreatePublishingUserAsync(
IWebSpaceOperations^ operations,
String^ username,
String^ password,
WebSpacesCreatePublishingUserParameters^ parameters
)
static member CreatePublishingUserAsync :
operations:IWebSpaceOperations *
username:string *
password:string *
parameters:WebSpacesCreatePublishingUserParameters -> Task<WebSpacesCreatePublishingUserResponse>
<ExtensionAttribute>
Public Shared Function CreatePublishingUserAsync (
operations As IWebSpaceOperations,
username As String,
password As String,
parameters As WebSpacesCreatePublishingUserParameters
) As Task(Of WebSpacesCreatePublishingUserResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSpaceOperationsReference to the Microsoft.WindowsAzure.Management.WebSites.IWebSpaceOperations.
username
Type: System.StringRequired. The user name.
password
Type: System.StringRequired. The user password.
parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSpacesCreatePublishingUserParametersOptional. Parameters supplied to the Create Publishing User operation.
Return Value
Type: System.Threading.Tasks.Task<WebSpacesCreatePublishingUserResponse>
The Create Publishing User operation response.
See Also
WebSpaceOperationsExtensions Class
Microsoft.WindowsAzure Namespace
Return to top