ServiceSecurityContext.IsAnonymous 屬性

定義

取得值,這個值表示目前的用戶端是否已提供認證給服務。

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

屬性值

Boolean

如果用戶端已提供認證,則為 true,否則為 false

適用於