Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Full domain name in Logon_User

Thread Tools

Full domain name in Logon_User

Posts: n/a
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
"", I need to get in Logon_User environement variable
the following content: "\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.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a server on one domain the domain controller of a new domain Limited Wisdom MCSA 7 09-13-2006 02:18 AM
Remove domain from request.servervariables("LOGON_USER") Dave Karmens ASP General 5 04-22-2004 08:12 AM