Share via


WebSpaceOperationsExtensions.CreatePublishingUser Method

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)

Usage

'Usage
Dim operations As IWebSpaceOperations
Dim username As String
Dim password As String
Dim parameters As WebSpacesCreatePublishingUserParameters
Dim returnValue As WebSpacesCreatePublishingUserResponse

returnValue = WebSpaceOperationsExtensions.CreatePublishingUser(operations, username, password, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreatePublishingUser ( _
    operations As IWebSpaceOperations, _
    username As String, _
    password As String, _
    parameters As WebSpacesCreatePublishingUserParameters _
) As WebSpacesCreatePublishingUserResponse
[ExtensionAttribute] 
public static WebSpacesCreatePublishingUserResponse CreatePublishingUser (
    IWebSpaceOperations operations,
    string username,
    string password,
    WebSpacesCreatePublishingUserParameters parameters
)
[ExtensionAttribute] 
public:
static WebSpacesCreatePublishingUserResponse^ CreatePublishingUser (
    IWebSpaceOperations^ operations, 
    String^ username, 
    String^ password, 
    WebSpacesCreatePublishingUserParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static WebSpacesCreatePublishingUserResponse CreatePublishingUser (
    IWebSpaceOperations operations, 
    String username, 
    String password, 
    WebSpacesCreatePublishingUserParameters parameters
)
ExtensionAttribute 
public static function CreatePublishingUser (
    operations : IWebSpaceOperations, 
    username : String, 
    password : String, 
    parameters : WebSpacesCreatePublishingUserParameters
) : WebSpacesCreatePublishingUserResponse

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSpaceOperations.
  • username
    Required. The user name.
  • password
    Required. The user password.
  • parameters
    Optional. Parameters supplied to the Create Publishing User operation.

Return Value

The Create Publishing User operation response.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

WebSpaceOperationsExtensions Class
WebSpaceOperationsExtensions Members
Microsoft.WindowsAzure Namespace