The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing Fields and Methods



This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


How to get the WinNT-Login name with an applet?

Posted by Ronny Peterhans on January 27, 2000 at 10:59 PM

I've created an applet to get the user name. It is pretty simple
because I used "System.getProperty("");". I had no
problems with the security restrictions also! In Internet
Explorer everything works correctly and I get the Login User
name. But with the Netscape-Browser I got the name where I
defined the e-mail-address in the preferences menu
("ronny.peterhans"). Is there a possibility to get the "correct"
user name or do I have to read from the registry? If I have to
do so then please tell me how!


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us