共用方式為


ServiceCredentialsElement.UserNameAuthentication 屬性

定義

取得使用者名稱和密碼驗證的設定。

public:
 property System::ServiceModel::Configuration::UserNameServiceElement ^ UserNameAuthentication { System::ServiceModel::Configuration::UserNameServiceElement ^ get(); };
[System.Configuration.ConfigurationProperty("userNameAuthentication")]
public System.ServiceModel.Configuration.UserNameServiceElement UserNameAuthentication { get; }
[<System.Configuration.ConfigurationProperty("userNameAuthentication")>]
member this.UserNameAuthentication : System.ServiceModel.Configuration.UserNameServiceElement
Public ReadOnly Property UserNameAuthentication As UserNameServiceElement

屬性值

UserNameServiceElement,指定使用者名稱和密碼驗證的設定。

屬性

適用於