次の方法で共有


IChannelCredentials.SetWindowsCredential メソッド

定義

Windows 資格情報を設定します。

public:
 void SetWindowsCredential(System::String ^ ___domain, System::String ^ userName, System::String ^ password, int impersonationLevel, bool allowNtlm);
public void SetWindowsCredential(string ___domain, string userName, string password, int impersonationLevel, bool allowNtlm);
abstract member SetWindowsCredential : string * string * string * int * bool -> unit
Public Sub SetWindowsCredential (___domain As String, userName As String, password As String, impersonationLevel As Integer, allowNtlm As Boolean)

パラメーター

___domain
String

ドメイン。

userName
String

ユーザー名。

password
String

パスワード。

impersonationLevel
Int32

偽装レベル。

allowNtlm
Boolean

NTLM 認証スキームを許可します。

適用対象