语言

ServiceSecurityContext.IsAnonymous 属性

定义

获取一个值,该值指示当前客户端是否向服务提供凭据。

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

属性值

true 如果客户端已提供凭据,则为否则,为 false.

适用于