WebSpaceOperationsExtensions.CreatePublishingUserAsync 方法 (IWebSpaceOperations, String, String, WebSpacesCreatePublishingUserParameters)
创建源控制用户有权将发布到此 web 空间。
命名空间: Microsoft.WindowsAzure
程序集: Microsoft.WindowsAzure.Management.WebSites(Microsoft.WindowsAzure.Management.WebSites.dll 中)
语法
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)
参数
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSpaceOperations对 Microsoft.WindowsAzure.Management.WebSites.IWebSpaceOperations 引用。
username
Type: System.String必需。 用户名。
password
Type: System.String必需。 用户密码。
parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSpacesCreatePublishingUserParameters可选。 提供给该创建发布的用户操作的参数。
返回值
Type: System.Threading.Tasks.Task<WebSpacesCreatePublishingUserResponse>
创建发布的用户操作响应。
请参阅
WebSpaceOperationsExtensions 类
Microsoft.WindowsAzure 命名空间
返回页首