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

Re: Thread.CurrentPrincipal.Identity.Name returns "ANONYMOUS LOGON" by Brian

Brian
Fri May 09 11:02:46 CDT 2008

I have switched to a http channel. This question is closed.

thanks

"Brian Stoop" <b.stoop@consultant-spam.free.com> wrote in message
news:%23vBk5FUsIHA.4840@TK2MSFTNGP05.phx.gbl...
> 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
>
>