SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


how to giver users access to viewing JOB Activity Monitor


how to giver users access to viewing JOB Activity Monitor

Author
Message
peter sullivan
peter sullivan
Grasshopper
Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)

Group: General Forum Members
Points: 12 Visits: 434
I want to give access to some users to view the job activity monitor. Now I know there is the new MSDB roles, SQLAgentUserRole, SQLAgentReaderRole etc in SQL Server 2005 but these don't fit the bill because typically the owner of all jobs is sa so I can't use SQLAgentUserRole and I don't want the user be able to do anything other than READ from the Job Activity Monitor so I can't use SQLAgentReaderRole - so how can I do it or can it even be done?
Thanks
MANU-J.
MANU-J.
SSCrazy
SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)SSCrazy (2.9K reputation)

Group: General Forum Members
Points: 2894 Visits: 8766
If owner of all the jobs is sa then sqlagentreader role suits your scenario.
bobznkazoo
bobznkazoo
SSC Rookie
SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)

Group: General Forum Members
Points: 44 Visits: 123
This forum thread answered my question about giving access to usrs, but it didn't tell how to give that access to the users. To do this:

Open the instance in SSMS.
Open the "Security" folder and then the "Logins" folder.
Right-Click on the user name and choose properties. If the user is not listed then you will have to add a "New Login".
Click on the "User Mappings" option.
Check the box next to the msdb database under "Users mapped to this login".
Add the user login name under "User" and add the "Default Schema" (eg: dbo).
Check the box next to the appropriate role under "Database role membership for: msdb".

Click "OK" and the user will have that permission for the Job Activity Monitor.
vikingDBA
vikingDBA
SSC-Addicted
SSC-Addicted (414 reputation)SSC-Addicted (414 reputation)SSC-Addicted (414 reputation)SSC-Addicted (414 reputation)SSC-Addicted (414 reputation)SSC-Addicted (414 reputation)SSC-Addicted (414 reputation)SSC-Addicted (414 reputation)

Group: General Forum Members
Points: 414 Visits: 929
Use the following to grant VIEW SERVER STATE to a user. With this permission, they can see Activity Monitor. Please research this permission to make sure it does not give other permissions that you do not wish the user to have.


USE master
GO
GRANT VIEW SERVER STATE TO [<domain>\<username>]
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search