Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Access rights on Scheduled Job

Vote:
 

Hi,

Can we show/hide scheduled jobs based on who is logged in? 

We have a requirement where the client wants only specific users to run some of the scheduled jobs.

Thanks, 

Syed

#114803
Dec 22, 2014 22:38
Vote:
 

As far as I know there is no built-in support for access rights on scheduled jobs. Are you restricting custom or built-in jobs? If you want to restrict access to your own jobs - role check could be implemented before executing the job but it will be always visible for users that "do not have access" to execute that job.

#114806
Dec 22, 2014 22:51
Vote:
 

Thanks for the prompt response Valdis, 

We are planning to do that on custom jobs. If you can share with me an example code on how to do the role check on execute function that would be greate. 

#114808
Dec 22, 2014 23:03
Vote:
 

To Role check you use the common .Net RoleProvider. Read more about it here

#114810
Dec 22, 2014 23:31
Vote:
 
#114818
Dec 23, 2014 10:33
Vote:
 

Thanks Alf,

I think I can get with this information somewhere.

Thanks,

Syed

#114830
Dec 23, 2014 16:06
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.