Condividi tramite


Metodo WebSpaceOperationsExtensions.CreatePublishingUser

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

Spazio dei nomi: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Utilizzo

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

Sintassi

'Dichiarazione
<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

Parametri

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

Valore restituito

The Create Publishing User operation response.

Sicurezza dei thread

Qualsiasi membro statico pubblico (condiviso in Visual Basic) di questo tipo è thread safe. Non è invece garantita la sicurezza dei membri dell'istanza.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows 7 e Windows Server 2008

Piattaforme di destinazione

Vedere anche

Riferimento

Classe WebSpaceOperationsExtensions
Membri WebSpaceOperationsExtensions
Spazio dei nomi Microsoft.WindowsAzure