get usernames logged in windows2000 network

harks

New member
Joined
Mar 9, 2005
Messages
3
Programming Experience
1-3
Hey Can anybody can tell us how to find usernames of the users that logged in win2000 network system on a lan?? using vb.net.If any body know please help me !!!!!!!
 

levyuk

Well-known member
Joined
Jun 7, 2004
Messages
313
Location
Wales, UK
Programming Experience
3-5
VB.NET:
System.Environment.UserName
ok well that gets the username of the person logged onto the current machine
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
You could call a batch file with net session >> C:\sessions.txt then read the text file.
 
Top Bottom