Windows « Log « JSP-Servlet Q&A

2. Getting currently logged in windows user information using JAVA API ?

Can anyone tell me how to get the information of the logged in username using JAVA? What I want to do is to make a HTML/JSP Web Page which will automatically take the windows authenticated username and display it on the second page when I press enter on the first page. Thanks a lot NA

3. Retreiving logged-in Windows user-id