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\"
NetQueryDisplayInformation should help. The field usri1_full_name will give the full name