Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 17th, 2008, 05: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, 07: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, 07: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, 08: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

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

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 network members.
Post your question now . . .
It's fast and it's free

Popular Articles