getting logged on users using WMI

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi, im writing a program that will get all currently logged on users to my
LAN. so far i can only egt all users, logged on or not, using the WMI
Searcher object...ive looked on the MSDN website for help on WMI, but its a
mess....does anyone have any hints on how to gety all currently logged on
users on a network?
 
are you on a domain? i wanted to know how to do this i could not find out
either.
 
My thought would be to query ADSI for the Computers on the domain, then
remotely query each computer WMI for the logged on user.
 
Back
Top