I think (from your choice of words) this is what you are looking for maybe??
String uid = (String)req.getRemoteUser();

Geeta

Shawn Sohl wrote:

> 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

___________________________________________________________________________
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