Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ServiceSecurityContext.IsAnonymous Property

Definition

Namespace:
System.ServiceModel
Assemblies:
System.ServiceModel.dll, System.ServiceModel.Primitives.dll
Assembly:
System.ServiceModel.dll
Assembly:
System.ServiceModel.Primitives.dll
Package:
System.ServiceModel.Primitives v10.0.652802
Source:
ServiceSecurityContext.cs
Source:
ServiceSecurityContext.cs
Source:
ServiceSecurityContext.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?