Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServiceSecurityContext::WindowsIdentity Property

 

Gets the Windows identity of the current setting.

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

public:
property WindowsIdentity^ 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
Show:
© 2017 Microsoft