"System.getProperty("user.name")" prints out "SYSTEM" and
"String uid = (String)req.getRemoteUser()" prints out "null".

I am running on a IIS server and would like to retrieve the NT login name of
the person who is logged into the network.  Anybody have any other ideas?

Shawn
-----Original Message-----
From: Michael Calasanz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 3:17 PM
To: [EMAIL PROTECTED]
Subject: Re: Retrieving NT username


System.getProperty("user.name")


>From: Shawn Sohl <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Retrieving NT username
>Date: Wed, 4 Oct 2000 14:32:22 -0500
>
>Is there a way to retrieve the user name of through the request object in a
>Servlet.    You can do it in ASP with
>the following call, "Request.ServerVariables("AUTH_USER")".  Any help would
>be appreciated.
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to