Is there a way to get the current logged in Windows user?

See the thread I've posted in my first reply: