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
'Declaration
Property EnableNTLMAuthentication As Boolean
bool EnableNTLMAuthentication { get; set; }
property bool EnableNTLMAuthentication {
bool get ();
void set (bool value);
}
abstract EnableNTLMAuthentication : bool with get, set
function get EnableNTLMAuthentication () : boolean
function set EnableNTLMAuthentication (value : 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.