Originally posted by Vedhas Pitkar: Hi!I dont think that u can get the NT login in tomcat coz we tried it many times But finally ended up using a asp page which retrives the nt login & then redirects to a jsp page.Sorry 4 u.
Vedhas, please try to reduce the contractions in you posts. It just reduces understanding thanks, Dave.
Joined: Sep 06, 2002
To Ruilin Yang: Unfortunately I am not "ok". NT login ID matches an ID in one of the user tables. I need to prepopulate the form with user information by recognizing him in this manner: extract NT id, put it into a variable and query the user table where user_id = 'StringNTid'; Thanks for everybody's input. Lana.
Jose - Great solution, I just tested on Tomcat with Windows NT and lo and behold up came my user name...
Joined: Jan 27, 2001
Sorry David.But my boss roams around these days So i try to keeps the messages short & sweet. Zac Have u tried it with different NT machines?Because i think that the user.name() returns the name of the machine on whose JVM the code is currently running.We tried it but didnt work for us.Different machines ,that is.
Joined: Jan 29, 2002
I did not try it on different machines yet but that is also a good point...