編輯

共用方式為


ServiceSecurityContext.IsAnonymous Property

Definition

Gets a value that indicates whether the current client has provided credentials to the service.

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

Property Value

true if the client has provided credentials; otherwise, false.

Applies to