title: how to get logged in user name in java program
body: <p>I want to get logged in user name in java code. 
  I tried System.getProperty("user.name") and it works.</p>
  
  <p>but it returns me username U4567 ...it doesn't return complete user name as hem-ent/U4567 as it shows when I lock my computer..</p>
  
  <p>I understand that in system properties, username property is stored as just U4567 AND not as hem-ent/U4567.</p>
  
  <p>how Do I get whole string hem-ent/U4567 ?
  Any clue ? help is appreciated</p>