If I have the name of a computer on the local network, can I find out who's currently logged on to that computer? All the computers run Windows NT Workstation 4.0.
==========================================================
char ipBuffer[32];
unsigned long nSize = 100;
BOOL check = false;
//Gets the current user name, must include <winbase.h>
check = GetUserName(ipBuffer, &nSize);
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.