Link to home
Start Free TrialLog in
Avatar of rwheeler23
rwheeler23Flag for United States of America

asked on

SQL Server 2008 Role to Submit Jobs

I need to allow a user the ability to submit and schedule jobs in SQL Server 2008 R2.

http://msdn.microsoft.com/en-us/library/ms188283.aspx  This artricle seems to be talking about what I need to do but I do not see these roles in SSMS 2008.

How do I go about setting this user up?
Avatar of JestersGrind
JestersGrind
Flag of United States of America image

Job information is stored in the system database, msdb.  The roles are located in there.  

Greg

Avatar of 25112
25112

As Greg said, you have to evoke those roles in MSDB databasse. here is the syntax... (put in your role choice and the right windows login)

use msdb
EXECUTE sp_addrolemember @rolename = 'SQLAgentReaderRole ', @membername = 'decla\jlu'
Avatar of rwheeler23

ASKER

So their is no GUI interface to accomplish this? No wonder I could not find it.
ASKER CERTIFIED SOLUTION
Avatar of JestersGrind
JestersGrind
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Right on the money.