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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logging object permission changes

Status
Not open for further replies.

JohnDTampaBay

Programmer
Jul 12, 2002
986
US
I need to be able to track changes to object permissions on my server. My first thought was to create triggers for SysUsers and SysProtects to log the changes and then schedule a nightly task to select logged changes that happened that day and email me. But, of course, it isn't possible to create triggers on system tables.

Does anyone have any ideas as to how I can log changes to object permissions in SQL without putting triggers on system tables?

Thanks in advance, folks. If this has an answer, I'm sure this group will find it.
--Angel
-----------------------------------
SELECT * FROM users WHERE clue > 0
0 row(s) selected
 
OK. I found the code I need to apply triggers to SysUsers and SysProtects (sp_configure), but I am hoping for a more graceful solution. Any ideas??? --Angel
-----------------------------------
SELECT * FROM users WHERE clue > 0
0 row(s) selected
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top