Connecting Tech Pros Worldwide Help | Site Map

Retrieve user login name

  #1  
Old August 17th, 2008, 05:15 PM
User Groups
Guest
 
Posts: n/a
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

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

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

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
>>
>>
>
>

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Login User Information Seok Bee answers 2 February 5th, 2006 06:35 AM
How to retrieve User name and group of a secured db vis VBA? Norman Fritag answers 4 November 13th, 2005 02:43 AM
Windows Login Name John answers 2 November 12th, 2005 10:42 PM
Windows Login Name John answers 2 November 12th, 2005 10:15 PM