Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote PC User name retrieval

Status
Not open for further replies.

snorky

Programmer
Jun 5, 2001
58
GB
Hi Everyone, Does anyone know of a way to retrieve the username of someone logged onto a network PC remotely. I've used the API GetUserName before but only on the machine the program was running on at the time. I'd like to be able to type in a PC number ( ours are labeled HUY-PCXXXX where XXXX is a unique number ) and get who is logged on at the time ????? Is this possible ? I need to be able to do this WITHOUT being logged on as ADMINISTRATOR... Thanx
Snorky [wiggle]
 

Oh, what wouldn't I give...

See thread222-92023 and the discussion at thread222-263301.
I got it working for NT workstations, but not for 2000. I think strongm code works for 2000 if you are logged in as administrator. Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top