Is there a way to get active list of users in a SQL Server database, lets say active from last one month OR say people who connected to the database anytime in last 30 days?
I tried below query but it gives me list of all the users irrespective of whether they are active or not.
SELECT * FROM sysusers