Aug 17, 2006 #1 TGJ Programmer Jan 31, 2005 64 CA Hello, I am wondering if anyone out there knows if there is a library that can be used to retrieve the network username in a Java application. Thanks.
Hello, I am wondering if anyone out there knows if there is a library that can be used to retrieve the network username in a Java application. Thanks.
Aug 17, 2006 1 #2 sedj Programmer Aug 6, 2002 5,610 [I'm guessing you are on Win32] You can get the name of the *logged in* user by doing : String loggedInUserName = System.getProperty("user.name"); -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk Upvote 0 Downvote
[I'm guessing you are on Win32] You can get the name of the *logged in* user by doing : String loggedInUserName = System.getProperty("user.name"); -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk