Thread.CurrentPrincipal.Identity.Name returns "ANONYMOUS LOGON"

B

Brian Stoop

Hi,

I have a .NET 2 Remoting client in an ASP application, pages call various
methods on the TCP channel. The .NET Remoting Server runs as a Windows
Service, "secure"=true in both the Client and Server Remoting interfaces..

But when I call Thread.Current.Principal.Name in the server, it always
returns "NT AUTHORITY\\ANONYMOUS LOGIN".

How can I get the ID of the user that is logged into the ASP application ?


Thanks, B
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top