Click to See Complete Forum and Search --> : vb/ find out network user' s names


safakkayhan
March 20th, 2001, 06:11 PM
hi, in a peer to peer network enviroment, i need the machine names of all connected users.

thanks a lot.

awylie
March 20th, 2001, 08:59 PM
Hi

Take a look at

http://www.mvps.org/vbnet/code/network/netuserenum.htm

I know its not exactly what you want but there may be more on this site with similar examples in this area using the Netapi32 library. I know there is a function NetServerEnum that also lets you specify the type of server to enumerate, eg. WORKSTATION, PRIMARY DOMAIN CONTROLLER, etc.

Thanx
Andew