FormsAuthentication.IsEnabled 属性

定义

获取一个值,该值指示是否启用了 Forms 身份验证。

public:
 static property bool IsEnabled { bool get(); };
public static bool IsEnabled { get; }
member this.IsEnabled : bool
Public Shared ReadOnly Property IsEnabled As Boolean

属性值

Boolean

如果启用窗体身份验证,则为 true;否则,为 false

适用于