Java: Programatic Way to Determine Current Windows User

Posted by Justin Nelson - jjnguy on Stack Overflow See other posts from Stack Overflow or by Justin Nelson - jjnguy
Published on 2008-08-28T00:17:21Z Indexed on 2010/03/23 17:43 UTC
Read the original article Hit count: 283

Filed under:
|

I see many similar questions, however I want to find the Username of the currently logged in user using Java.

Its probably something like:

System.getProperty(current.user);

But, I'm not quite sure.

© Stack Overflow or respective owner

Related posts about java

Related posts about Windows