Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show which login a user is using to access database 1

Status
Not open for further replies.

spangeman

Programmer
Oct 16, 2004
96
EU
SQL 2000 Question - Logins / Groups / Users

Hi, I tried some googling of this but didn't get very far.


I have a user accessing the database via membership of a Windows NT group. The user should have read-only access to the database (as defined in their Database User) but they are actually able to read and write.

My suspicion is that the user is actually accessing the database through another group or login. It may be that they are members of multiple NT groups. I am not in control of this so I can't be certain.

Is there a stored procedure or some method I could use to show how the user is accessing the database? I.e. show which login or group and database user they are currently using.

Regards
Spangeman

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top