WebSiteProperties.EnableNTLMAuthentication Property


Gets or sets whether the ASP.NET Development Server uses NTLM authentication.

Namespace:   VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)


bool EnableNTLMAuthentication { get; set; }
property bool EnableNTLMAuthentication {
    bool get();
    void set(bool value);
abstract EnableNTLMAuthentication : bool with get, set
Property EnableNTLMAuthentication As Boolean

Property Value

Type: System.Boolean

true if NTLM authentication is enabled; otherwise false.


The EnableNTLMAuthentication property is valid only for file system Web sites that use the ASP.NET Development Server. It has no validity or effect with FTP or IIS Web sites. The property is specifically meant to support the case where multiple users are using the Development Server on one machine through Terminal Services.


Enabling NTLM authentication for a site may make some browsers unable to view the pages if they do not support NTLM authentication.


For an example of reading and setting late-bound properties, see WebSiteProperties.

See Also

VsWebSite Namespace
NTLM and Kerberos Authentication
Referencing Automation Assemblies and the DTE2 Object

Return to top