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 인증 체계를 허용합니다.

적용 대상