ASP.net cannot get logon user name in window

Discussion in '.NET' started by Molly_K, Aug 10, 2006.

  1. Molly_K

    Molly_K

    Joined:
    Aug 8, 2006
    Messages:
    3
    Hi all,

    Seems I have put on the wrong place before^^"

    I have worked on a program using ASP.net(VB) and I have to get the name and domain of the logon user in Windows while the user do not need to input the name and password again as they had logged on.
    I have used User.Identity.Name, HttpContext.Current.User.Identity.Name() and many methods, however, all doesn't work. Some of them returns an empty string, some returns the username who run the IIS, which is not my expectation.

    I have disabled the annoymous access and set the Integrated Windows Authentication. impersonate is set to true. When I run the application, a window being pop and ask me for inputting username and password.

    Can anyone help me, please. I'm stick with this problem for a long time.
     
    Molly_K, Aug 10, 2006
    #1
    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. venkat

    Retrieve logon user name from ADSI

    venkat, Nov 6, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    462
    venkat
    Nov 6, 2003
  2. Mike
    Replies:
    0
    Views:
    475
  3. pxpilot
    Replies:
    0
    Views:
    447
    pxpilot
    Apr 27, 2008
  4. Kjell Kristiansson
    Replies:
    0
    Views:
    299
    Kjell Kristiansson
    Nov 30, 2005
  5. Kelly

    Grab a User's Logon name in ASP.NET form?

    Kelly, Mar 10, 2005, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    201
    Kelly
    Mar 15, 2005
Loading...

Share This Page