Share via


WebSiteProperties.EnableNTLMAuthentication Property

 

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

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

Syntax

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.

Remarks

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.

Note

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

Examples

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

See Also

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

Return to top