Connecting Tech Pros Worldwide Help | Site Map

Retrieve user login name

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 17th, 2008, 04:15 PM
User Groups
Guest
 
Posts: n/a
Default Retrieve user login name

On our intranet when a user first navigaes to my web application he is
prompted by the Browser to provide his user name and a password. Is there a
way of retrieving a user name on the server? If not, how else can I
personalize the user?

Thanks



  #2  
Old August 17th, 2008, 06:35 PM
Anthony Jones
Guest
 
Posts: n/a
Default Re: Retrieve user login name

"User Groups" <markgoldin_2000@yahoo.comwrote in message
news:e47QMPIAJHA.4064@TK2MSFTNGP02.phx.gbl...
Quote:
On our intranet when a user first navigaes to my web application he is
prompted by the Browser to provide his user name and a password. Is there
a
Quote:
way of retrieving a user name on the server? If not, how else can I
personalize the user?
Try Request.ServerVariables("LOGON_USER") or
Request.ServerVariables("AUTH_USER")

--
Anthony Jones - MVP ASP/ASP.NET


  #3  
Old August 17th, 2008, 06:55 PM
User Groups
Guest
 
Posts: n/a
Default Re: Retrieve user login name

I am trying Request.ServerVariables("LOGON_USER")
and despite that I have an Anonymous Access removed
it is still an empty string.
"Anthony Jones" <Ant@yadayadayada.comwrote in message
news:Ot%23lIdJAJHA.4368@TK2MSFTNGP06.phx.gbl...
Quote:
"User Groups" <markgoldin_2000@yahoo.comwrote in message
news:e47QMPIAJHA.4064@TK2MSFTNGP02.phx.gbl...
Quote:
>On our intranet when a user first navigaes to my web application he is
>prompted by the Browser to provide his user name and a password. Is there
a
Quote:
>way of retrieving a user name on the server? If not, how else can I
>personalize the user?
>
Try Request.ServerVariables("LOGON_USER") or
Request.ServerVariables("AUTH_USER")
>
--
Anthony Jones - MVP ASP/ASP.NET
>
>

  #4  
Old August 17th, 2008, 07:15 PM
User Groups
Guest
 
Posts: n/a
Default Re: Retrieve user login name

AUTH_USER worked, Thanks

"User Groups" <markgoldin_2000@yahoo.comwrote in message
news:ukfGDoJAJHA.4588@TK2MSFTNGP03.phx.gbl...
Quote:
>I am trying Request.ServerVariables("LOGON_USER")
and despite that I have an Anonymous Access removed
it is still an empty string.
"Anthony Jones" <Ant@yadayadayada.comwrote in message
news:Ot%23lIdJAJHA.4368@TK2MSFTNGP06.phx.gbl...
Quote:
>"User Groups" <markgoldin_2000@yahoo.comwrote in message
>news:e47QMPIAJHA.4064@TK2MSFTNGP02.phx.gbl...
Quote:
>>On our intranet when a user first navigaes to my web application he is
>>prompted by the Browser to provide his user name and a password. Is
>>there
>a
Quote:
>>way of retrieving a user name on the server? If not, how else can I
>>personalize the user?
>>
>Try Request.ServerVariables("LOGON_USER") or
>Request.ServerVariables("AUTH_USER")
>>
>--
>Anthony Jones - MVP ASP/ASP.NET
>>
>>
>
>

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.