ASP.net cannot get logon user name

Discussion in 'General Computer Support' started by Molly_K, Aug 8, 2006.

  1. Molly_K

    Molly_K

    Joined:
    Aug 8, 2006
    Messages:
    2
    Likes Received:
    0
    Hi all,

    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 8, 2006
    #1
    1. Advertisements

  2. Molly_K

    Molly_K

    Joined:
    Aug 8, 2006
    Messages:
    2
    Likes Received:
    0
    Sorry, seems I have put on the wrong place.

    Please ignore this post.
     
    Molly_K, Aug 10, 2006
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. =?Utf-8?B?c2FuanU=?=

    information about asp ,oracle,asp.net certification?

    =?Utf-8?B?c2FuanU=?=, May 18, 2005, in forum: Microsoft Certification
    Replies:
    1
    Views:
    1,732
    Bob Christian
    May 18, 2005
  2. CJH
    Replies:
    0
    Views:
    2,384
  3. =?Utf-8?B?dmlqdTgy?=
    Replies:
    1
    Views:
    980
    =?Utf-8?B?VmlwdWwgUGF0ZWwgKE1WUCk=?=
    Sep 7, 2004
  4. Zabron Muyambo

    Easy Moving from ASP to ASP.NET???

    Zabron Muyambo, Oct 26, 2004, in forum: MCSD
    Replies:
    7
    Views:
    841
    Zabron Muyambo
    Oct 27, 2004
  5. xdocx

    WinXP User Account "ASP.NET Machine A..."???

    xdocx, Mar 24, 2005, in forum: Computer Support
    Replies:
    1
    Views:
    3,349
    docmill
    Mar 24, 2005
  6. thehobbit
    Replies:
    0
    Views:
    4,987
    thehobbit
    Nov 22, 2006
  7. imman

    session from asp to asp.net

    imman, Feb 20, 2008, in forum: General Computer Support
    Replies:
    0
    Views:
    1,242
    imman
    Feb 20, 2008
  8. london1919
    Replies:
    1
    Views:
    4,217
    Lawrence Garvin \(MVP\)
    Dec 8, 2008
Loading...