Full domain name in Logon_User

Discussion in 'ASP General' started by JPG, Dec 9, 2005.

  1. JPG

    JPG Guest

    Hi all,
    I'm using Windows Integrated Authentication on my company intranet ASP web
    site (IIS6 W2K3).
    I would like to know how could I get the full Active Directory domain name
    from the Logon_User variable.
    I always get the netbios name of the domain, but I need the full domain name
    to be able to distinguish users (because actually there is two companies on
    the intranet having their AD forest linked, but also having some subdomains
    with identical netbios name !).
    I mean, for instance for a user login "theuser" coming from the domain is
    "thedomain.thecompany.com", I need to get in Logon_User environement variable
    the following content: "thedomain.thecompany.com\theuser"
    At the moment I only get "thedomain\theuser", excepted if I switch to basic
    authentication, that I don't want.
    Thanks in advance for your help.
    --------------
    Jean-Philippe
     
    JPG, Dec 9, 2005
    #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. =?Utf-8?B?SGVsbWk=?=

    using logon_user

    =?Utf-8?B?SGVsbWk=?=, Jan 23, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    475
    =?Utf-8?B?SGVsbWk=?=
    Jan 23, 2004
  2. T.
    Replies:
    7
    Views:
    15,822
    RiaanBod
    Apr 28, 2011
  3. Nikron
    Replies:
    6
    Views:
    17,335
    Mark Rae
    May 31, 2006
  4. Dave Karmens
    Replies:
    5
    Views:
    1,064
    Roland Hall
    Apr 22, 2004
  5. Chem Leakhina
    Replies:
    2
    Views:
    145
    Robert Klemme
    Jun 23, 2009
Loading...

Share This Page