WindowsClientCredential.AllowNtlm Property

Gets or sets a value indicating whether NTLM authentication should be allowed as Windows SSPI Negotiate authentication.

Namespace: System.ServiceModel.Security
Assembly: System.ServiceModel (in system.servicemodel.dll)

public bool AllowNtlm { get; set; }
/** @property */
public boolean get_AllowNtlm ()

/** @property */
public void set_AllowNtlm (boolean value)

public function get AllowNtlm () : boolean

public function set AllowNtlm (value : boolean)

Not applicable.

Property Value

true if NTLM authentication should be allowed as Windows SSPI Negotiate authentication, false otherwise. The default is true.

Setting this flag to false will force Windows SSPI Negotiate authentication to use Kerberos. Certain deployments such as workgroups and local accounts require NTLM authentication. Setting this flag to false in such deployments will result in authentication failures when using Windows Communication Foundation (WCF). In a deployment which requires mutual authentication (only supported by Kerberos), set this flag to false.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions