Who is logged on to domain

GrexD

Well-known member
Joined
Mar 5, 2008
Messages
95
Programming Experience
Beginner
I've been playing around with Active Directory programming. I can get a list of the computers on a domain and I get get a list of users who have accounts on a domain. What I can't seem to figure out what to do is get a list of users who are currently logged on.

When you get a list of users you can get information about their account, but there doesn't seem to be a way to tell if they are currently logged on to the domain. It seems the way to go about it is to get a list of the computers on the domain and then see who, if anyone, is logged on to each computer.

But how do you do this? If I can identify that there is a computer called "payroll1", how can I poll that computer to see who is logged on?

Any ideas?

Greg
 
Back
Top