like this ?
var wshshell=new ActiveXObject("wscript.shell"); var username=wshshell.ExpandEnvironmentStrings("%username%"); 2011/7/27 Vibhor Kumar Agarwal <vibhor_agarwa...@rediffmail.com> > > Hello Folks, > > Looking for an option to find the user name opening the web server portal. > Don't want to authenticate via LDAP, NIS, etc. > > Does the web server know the login id of windows? > > Thanks in advance. > -- > View this message in context: > http://old.nabble.com/Finding-user-name-without-authentication-tp32146111p32146111.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Never trust your computer.