im doing a project on windows networking.
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
But i can't get LastLogoff time.
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.
Give me ideas about the project
my email id : firstname.lastname@example.org
Advance thanks to you.