SQL Server: can SecurityAdmin role read error log?

Posted by atricapilla on Server Fault See other posts from Server Fault or by atricapilla
Published on 2010-06-15T06:13:37Z Indexed on 2010/06/15 6:23 UTC
Read the original article Hit count: 325

Filed under:
|

I have read, e.g from here

http://wiki.lessthandot.com/index.php/Find_Out_Server_Roles_For_a_SQL_Server_Login

that SecurityAdmin role can read Error logs. I'm on SecurityAdmin role and when I try to execute xp_readerrorlog I get a following error:

Msg 229, Level 14, State 5, Procedure xp_readerrorlog, Line 1
The EXECUTE permission was denied on the object 'xp_readerrorlog', database 'mssqlsystemresource', schema 'sys'.

What I'm missing? Can this role read error logs or not?

© Server Fault or respective owner

Related posts about sql-server

Related posts about sql-server-2008