NServiceBus - How to configure bus to allow WindowsIdentity to flow from client

Posted by John Simons on Stack Overflow See other posts from Stack Overflow or by John Simons
Published on 2010-05-17T07:50:43Z Indexed on 2010/05/17 8:30 UTC
Read the original article Hit count: 168

Filed under:
|
|

On the client I have setup the bus with ImpersonateSender(true)

My server is configured AsA_Server, which by default should have ImpersonateSender(true)

I'm now trying to retrieve the WindowsIdentity, from inside a Handler

var windowsIdentity = WindowsIdentity.GetCurrent(true);

But this is giving me null.

What am I doing wrong?

© Stack Overflow or respective owner

Related posts about nservicebus

Related posts about c#