IISServerOptions.AutomaticAuthentication 属性

定义

如果为 true,则服务器应设置 HttpContext.User。 如果为 false,则服务器仅在 AuthenticationScheme 显式请求时提供标识。 注意 还必须在 IIS 中启用 Windows 身份验证才能正常工作。

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

属性值

适用于