Compartilhar via


Método WebSpaceOperationsExtensions.CreatePublishingUser

Creates a source control user with permissions to publish to this web space.

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

Uso

'Uso
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)

Sintaxe

'Declaração
<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

Parâmetros

  • 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.

Valor de retorno

The Create Publishing User operation response.

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe WebSpaceOperationsExtensions
Membros WebSpaceOperationsExtensions
Namespace Microsoft.WindowsAzure