Yes, I am using realm. But actually I don't want the user to type in the
userid. I want to use the same id that he types in when he logs on to
windows. I am creating an Intranet application and want to use the same
id that the user logs in signing on to the network.

Hari

-----Original Message-----
From: David Brown [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 05, 2002 1:54 PM
To: [EMAIL PROTECTED]
Subject: Re: out of Context

Hari Venkatesan writes: 

>  
> 
> Is there a way to retrieve windows userid from the client side using
> java or javascript? 
> 
> Hari 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]> 
> 
 

Hello Hari, i u r using realm and form based login this works 4 me:
String user = request.getUserPrincipal().getName();
hope this helps, david. 

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to