Java: Programatic Way to Determine Current Windows User
- by Justin Nelson - jjnguy
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.