How can I determine the user activity on the computer login?

Good afternoon, is there a way to determine user activity by login in Active Directory, ie for example with login to know whether the user logged on to the computer, or it is made but the computer is locked.

Or maybe there is some application service that could be requested, and it was satrasala data such as online user, or the user no longer 30 minutes any action, if at all offline.

From the Jabber client there is, when using a server you can get a picture by login status (green, yellow, red)
June 26th 19 at 14:12
1 answer
June 26th 19 at 14:14
AD not to do so. Yes, you can collect the audit logs in the form when the event occurred logon/logoff, but a more detailed logic can be implemented only by third-party software. (as in example c Jabber)

Find more questions by tags Active DirectoryAndroid