WindowsIdentity.IsAuthenticated 属性

定义

获取一个值,该值指示 Windows 是否对用户进行了身份验证。

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

实现

适用于