Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

SQL active user count

$
0
0

I am trying to figure out how to get the list of active users in SQL 2005 with just basic data read/write permissions.

Is there a singular right that I can grant that could allow this to work without giving away the farm?

 

If run with admin rights/sa the sp_who returns as expected, but with limited rights it returns 0 records.

This is one of the hiccups we have hit while trying to secure our application/database better.

The point is to get the count of the unique user/machine pairs accessing a particular database for licensing counting purposes.

How are others handling this?  I hate to resort to inserting records to some table to track logins.

Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>