Share via


IISOptions.AutomaticAuthentication Eigenschaft

Definition

Wenn true, sollte die Middleware httpContext.User festlegen. Bei false stellt die Middleware nur dann eine Identität bereit, wenn sie explizit von AuthenticationScheme angefordert wird. Hinweis Die Windows-Authentifizierung muss auch in IIS aktiviert sein, damit dies funktioniert.

public:
 property bool AutomaticAuthentication { bool get(); void set(bool value); };
public bool AutomaticAuthentication { get; set; }
member this.AutomaticAuthentication : bool with get, set
Public Property AutomaticAuthentication As Boolean

Eigenschaftswert

Gilt für: