NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DirectoryEntry.UseSecureAuthentication

Gets or sets a value indicating whether the WinNt provider uses NT LAN Manager (NTLM) to authenticate the client.

[Visual Basic]
Public Property UseSecureAuthentication As Boolean
[C#]
public bool UseSecureAuthentication {get; set;}
[C++]
public: __property bool get_UseSecureAuthentication();
public: __property void set_UseSecureAuthentication(bool);
[JScript]
public function get UseSecureAuthentication() : Boolean;
public function set UseSecureAuthentication(Boolean);

Property Value

true if the WinNt provider uses NT LAN Manager (NTLM) to authenticate the client; otherwise, false.

Remarks

Active Directory will use Kerberos, and possibly NTLM, to authenticate the client. When the Username and Password are set to a null reference (in Visual Basic Nothing), Active Directory Service Interface (ADSI) binds to the object using the security context of the calling thread, which is either the security context of the user account under which the application is running or of the client user account that the calling thread is impersonating.

See Also

DirectoryEntry Class | DirectoryEntry Members | System.DirectoryServices Namespace