Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

GetUserName Windows API

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GetUserName Windows API

    I need to retrieve the Network user name that is signed on at the time the program runs on the PC. I found the GetUserName api but I can't get it to work. Does anybody have a sample code that I could use to get the current user id from windows?
Working...
X