File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Windows User Name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Windows User Name" Watch "Windows User Name" New topic
Author

Windows User Name

Kudret Serin
Ranch Hand

Joined: Aug 02, 2005
Posts: 167

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