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\"
Did you try GetUserNameEx(NameDisplay,...)?