• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create an system auditor with the help of java?  RSS feed

 
sathyaraj ganesan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have searched lot in the online and i cant able to fine the solution for the below things...

My project is to display the daily status of windows logon status with timings.For example X is a user logged with windows workstation @8AM and he is locked his system @9AM then again he logged the system @10AM and locked at 11@AM

C:\>net user n444479 /domain | findstr /C:"Last logon" this is the command if we execute then it will display the last logon time.we cant get the last system locked time.

I can execute the above command and get it stored via object in java.here my question is there any way to get the last system workstation locked time via java?



 
Tim Moores
Saloon Keeper
Posts: 4032
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java seems the wrong choice of language for this. Any particular reason you're not using a language that has first class access to the Windows API?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!