title: How to get logged-in user's full name in windows?
body: <p>How to get logged-in user's full name (the one he/she entered as his/her real name) using windows API or something else? For example how to get "John Smith", not "john" (as it were his username).</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/ms724432%28VS.85%29.aspx" rel="noreferrer">GetUserName(...)</a> doesn't do the job because it returns the username, not the full name.</p>