I would like to know if is there a way to create a user
that can Manage all JOBS in the machine, see and execute
and monitor the job that is running ! I tried using -
ProcessAdmin Server role ! But I couldn't do it !
Thank's !
Assign the user to the 'TargetServersRole' in msdb.Not sure, but I believe,
this role does not have permission to execute a job.Anyways, check it and
grant if the execute permission to sp_start_job is denied.
--
Dinesh.
SQL Server FAQ at
http://www.tkdinesh.com
"Roberto Carrasco" <roberto_...@msn.com> wrote in message
news:0a1d01c377ab$f54a8340$a601...@phx.gbl...
-Sue
Iam not sure if you are pointing to any mistake in what I mentioned or just
adding to it.That said..
>>..run jobs they don't own,
Roberto mentioned "that can Manage all JOBS ".
--
Dinesh.
SQL Server FAQ at
http://www.tkdinesh.com
"Sue Hoegemeier" <Su...@nomail.please> wrote in message
news:21hulvopdqijqlag3...@4ax.com...
-Sue
--
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Sue Hoegemeier" <Su...@nomail.please> wrote in message
news:7gkulv4rkftjos2q4...@4ax.com...
-Sue
I tried to put the user as datareader in the msdb database
and I gave explicit access to sp_start_Job - sp_stop_job -
sp_sqlagent_refresh_job and add the user to the
TargetServerRole !
My operator only have to start the job specifying a step -
and see using refresh if the job is running ! That's all !
What do I HAVE TO DO
Thank's
C a r r a s c o
>.
>
I tried to put the user as datareader in the msdb database
and I gave explicit access to sp_start_Job - sp_stop_job -
sp_sqlagent_refresh_job and add the user to the
TargetServerRole !
My operator only have to start the job specifying a step -
and see using refresh if the job is running ! That's all !
What do I HAVE TO DO
Thank's
C a r r a s c o
>.
>
I tried to put the user as datareader in the msdb database
and I gave explicit access to sp_start_Job - sp_stop_job -
sp_sqlagent_refresh_job and add the user to the
TargetServerRole !
My operator only have to start the job specifying a step -
and see using refresh if the job is running ! That's all !
What do I HAVE TO DO
Thank's
C a r r a s c o
>-----Original Message-----
>.
>
SELECT @is_sysadmin = ISNULL(IS_SRVROLEMEMBER(N'sysadmin'), 0)
SELECT @job_owner = SUSER_SNAME()
Whilst I would never advise changing system stored procedures,and it being
totally unsupported, hardcoding the sysadmin check will allow a "normal"
user to see the job status
--
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Roberto Carrasco" <roberto_...@msn.com> wrote in message
news:000c01c377d8$d65c7290$a301...@phx.gbl...
How can I make this modifications ??
The users owns the job that he is trying to refresh but
even this way he can't see the status of the job ! !
Please answer
Thank's
Roberto Carrasco
>.
>