This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Servlets and the fly likes Windows User Name Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Windows User Name" Watch "Windows User Name" New topic
Author

Windows User Name

Kudret Serin
Ranch Hand

Joined: Aug 02, 2005
Posts: 165

Hi all,
How can i get the windows user name of a client?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Browsers do not send that data.
You can't.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
g forte
Greenhorn

Joined: Aug 28, 2003
Posts: 25
If the user is authenticated to a domain you may be able to grab userName/domain using this Servlet. I have had some success in the past with this.
http://www.jguru.com/faq/view.jsp?EID=1045412

HTH!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Windows User Name
 
Similar Threads
getting current logged user in windows
Problem while installing WAS 5.0
NT Authentication in JSP
Registry Values
comment template variables