IISServerOptions.AutomaticAuthentication Property

Definition

If true the server should set HttpContext.User. If false the server will only provide an identity when explicitly requested by the AuthenticationScheme. Note Windows Authentication must also be enabled in IIS for this to work.

C#
public bool AutomaticAuthentication { get; set; }

Property Value

Applies to

Product Versions
ASP.NET Core 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0