You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alberto A C A S Magalhães <al...@bnc.pt> on 2003/05/28 10:20:15 UTC

Obtaining the USERID of WK2

**********************************************************************
Este email assim como os ficheiros que possa ter em anexo são confidenciais
e para uso exclusivo da pessoa ou organização para o qual foi enviado.
Se recebeu este email por engano por favor notifique Redes@bnc.pt

Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
não tendo sido encontrados virus.

www.mimesweeper.com
***********************************************************************

Hi, 
I need to obtaing the userid of WK2 in a HTML page, for sending to a
servlet.
 
It is possible? How?
 
Thanks
 

Re: Obtaining the USERID of WK2

Posted by Jason Bainbridge <ja...@jblinux.org>.
On Wed, 28 May 2003 16:20, Alberto A C A S Magalhães wrote:
> I need to obtaing the userid of WK2 in a HTML page, for sending to a
> servlet.

WK2? Do you mean W2k, as in Windows 2000? So the currently logged in domain 
user?

Easiest way to do it is by using a filter and http://jcifs.samba.org there are 
some other ways bu JCIFS is trivial to implement and the other ways lead to 
much hair pulling. :)

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
webmaster@kde.org 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org