Edit

Share via


IChannelCredentials.SetWindowsCredential Method

Definition

Sets the Windows credentials.

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)

Parameters

___domain
String

Domain.

userName
String

User name.

password
String

Password.

impersonationLevel
Int32

Impersonation level.

allowNtlm
Boolean

Allow NTLM authentication scheme.

Applies to