Active Directory Windows, .
, :
IIdentity caller = ServiceSecurityContext.Current.PrimaryIdentity;
, Windows Windows ( ),
ServiceSecurityContext.Current.WindowsIdentity
NULL, Windows , Windows, , ( ..) - , ! , , , .
Windows/Active Directory, clientCredentialType "Windows". , wsHttpBinding : netTcpBinding ( Windows ).
<bindings>
<netTcpBinding>
<binding name="WindowsSecured">
<security mode="Transport">
<transport clientCredentialType="Windows" />
</security>
</binding>
</netTcpBinding>
</bindings>
, Windows, . .
Windows ServiceSecurityContext.Current.WindowsIdentity , .
MSDN , , Windows.