Monday, January 13, 2003 06:05 AM
Mmh... Maybe you should just buy a network monitor??
If you have a Win2k network, maybe you can try to send request to your WINS and/or DNS servers for machine names and IP adresses, if the adresses are static/pseudo-static. Then you could try to talk to each machine to see if they are online. But for the username, I think you'll have to sniff the packets and hope the username isn't encrypted.
If you have UNIX, well, scratch the WINS part...
Alternately, you could use Active Directory or just about any LDAP implementation available, make sure the data you need is entered in it and query that to find out the info you need. But the PC on/off part I don't know how you can do, other than trying to send SNMP packets to it and see if it answers...