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

  • Thread starter Thread starter Brian Stoop
  • Start date Start date
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
 
Back
Top