View Single Post
  #1 (permalink)  
Old May 16th, 2004, 06:36 AM
rguru rguru is offline
Registered User
 
Join Date: May 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Challenging questions...





hai everybody,

 im doing a project on windows networking.

 project:

             i have to track login time and logout time for every user, connected to my server. It should not be a webbased one.
i have to maintain this as a database. I have to do it in Visual Basic or Visual c++ (.Net). And also current user's list in my server.

 I have tried , like NetServerEnum , all functions in msdn.
 But i didn't get correct result.

 i have also used "ADSI" like

      GetObject(...)
      user.LastLogoff

 But i can't get LastLogoff time.

 Questios :

 1 . How to get last logoff time ?
 2 . How and when to run the programe ( Because i have to get login time . so it should be run , when user logged in)

 3 . How to get login,logout time for every user?
 4 . How to get current user's list in my server?
 5 . Give me the solution in Visual.Net based.

                    (or)

           Give me ideas about the project


 my email id : [email protected]

 Advance thanks to you.
 Thankyou.