Where is in database info about user logins, users with mobile app installed etc

I need to get information on how users interact with nextcloud.
Where can I find this information in the database? Where can I find that information using the graphical interface?
You would need to know which user installed the mobile application, who (or who connected through the mobile application) who connected via the web. etc…

Thank You.