IISServerOptions.AutomaticAuthentication 屬性

定義

如果為 true,伺服器應該設定 HttpCoNtext.User。 如果為 false,伺服器只會在 AuthenticationScheme 明確要求時提供身分識別。 注意 Windows 驗證也必須在 IIS 中啟用,才能運作。

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

屬性值

適用於