title: Get currently logged on user on Windows
body: <p>Example: I am logged in as user TestUser. From this user I am going to run a command line as an administrator named AdminUser.</p>
  
  <p>Is it possible from this command line to determine the name of the currently logged in TestUser?</p>
  
  <p>I already have scheduled task which is always running as AdminUser, but in its action (batch file), I need to name of the currently logged in user.</p>
  
  <p>Any ideas?</p>