GenericIdentity.IsAuthenticated 属性

定义

获取一个值,该值指示是否验证了用户。

public:
 virtual property bool IsAuthenticated { bool get(); };
public override bool IsAuthenticated { get; }
public virtual bool IsAuthenticated { get; }
member this.IsAuthenticated : bool
Public Overrides ReadOnly Property IsAuthenticated As Boolean
Public Overridable ReadOnly Property IsAuthenticated As Boolean

属性值

如果该用户已经过身份验证,则为 true;否则为 false

实现

适用于