WebSpaceOperationsExtensions.CreatePublishingUser Method
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)
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
The IWebSpaceOperations object that specifies the operations web spaces.
- username
The source control user name.
- password
The source control user password.
- parameters
The WebSpacesCreatePublishingUserParameters object that contains the parameters that are used to a source control user.
Return Value
An WebSpacesCreatePublishingUserResponse object that contains the status of the operation.
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 and Windows Server 2008
Target Platforms
See Also
Reference
WebSpaceOperationsExtensions Class
WebSpaceOperationsExtensions Members
Microsoft.WindowsAzure.Management.WebSites Namespace