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

How to Find All Users That Have SQLAgent Permissions? 1

Status
Not open for further replies.

JohnBates

MIS
Feb 27, 2000
1,995
US
hi everyone,


The auditors have their microscopes out again - they want to see which logins would be able to use the SQL Agent in our SQL Server 2005 instances.

When I run this
exec sp_helpdbfixedrole 'SQLAgentOperatorRole';
it says "role not found" Am I using the wrong sp?

I'm kind of stumped on this. Checking for the sp_add_job permission might be an option. But how would I find those users?

Thanks, John

 
Of course this role is in the MSDB which I am sure you are aware of.

It is also not a DB Fixed Role but just a Role ...

SO ... you need to execute exec
Code:
   sp_helprole 'SQLAgentOperatorRole';

I would take a look at this link for additional help ...


Enjoy~


Thanks

J. Kusch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top