how can i get the list of all logged in users in Active Directory i
active directory
Collapse
X
-
Tags: None
-
I've tackled this problem before as an administrator.
Just Google keywords Active Directory Last Logon and you'll get references like this one:
http://www.ondotnet.co m/pub/a/dotnet/excerpt/ADcookbook_chap 1/index.html?page =2
They all cover pretty much the same ground.
If you really want to find out who is currently logged on, I think you would have query the computer they are logged on at.
Possibly a procedure of
1) Read the domain server Event logged for successful authentications and gather the user and computer they authenticated from.
2) Query that computer to see if the user is still logged on
Alternatively, you can modify the domain login/logout scripts to record their logins/logouts to a logging process.Comment
Comment