How to get the current logged in user in Java Administrator June 19, 2014 1 Comment To get the current logged in user in Java you can use the following snippet. Sample Java System.getProperty("user.name")