Get user info from AD

A

Alex

Hello All,

Is it possible to get when a user logged in the network? I'm interested in
time (Logged in and logged out).

I'll be using VB 2005 and connecting to Active Directory.

Thanks!!!

Alex
 
P

Paul Clement

¤ Hello All,
¤
¤ Is it possible to get when a user logged in the network? I'm interested in
¤ time (Logged in and logged out).
¤
¤ I'll be using VB 2005 and connecting to Active Directory.

The LastLogin property of a User DirectoryEntry should provide the date and time that the user last
logged into the system. AFAIK there is no way to accurately determine when the user last logged out
of the system.


Paul
~~~~
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top