IChannelCredentials.SetWindowsCredential Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.