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

Discussion in 'ASP .Net' started by Brian Stoop, May 8, 2008.

  1. Brian Stoop

    Brian Stoop Guest

    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
    Brian Stoop, May 8, 2008
    #1
    1. Advertising

  2. Brian Stoop

    Brian Stoop Guest

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

    thanks

    "Brian Stoop" <> wrote in message
    news:%...
    > 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
    >
    >
    Brian Stoop, May 9, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. nalbayo
    Replies:
    2
    Views:
    5,491
    Bruce Barker
    Nov 11, 2005
  2. Ken
    Replies:
    2
    Views:
    2,850
  3. Dune88
    Replies:
    0
    Views:
    335
    Dune88
    Oct 10, 2008
  4. John K
    Replies:
    8
    Views:
    338
    Dominick Baier [DevelopMentor]
    Sep 20, 2005
  5. Kjell Kristiansson
    Replies:
    0
    Views:
    283
    Kjell Kristiansson
    Nov 30, 2005
Loading...

Share This Page