ServiceSecurityContext.WindowsIdentity Property


Gets the Windows identity of the current setting.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public WindowsIdentity WindowsIdentity { get; }

Property Value

Type: System.Security.Principal.WindowsIdentity

A WindowsIdentity that represents the Windows domain user.

If the remote party cannot be associated with a Windows account, the IsAnonymous property is set to true.

.NET Framework
Available since 3.0
Return to top