Try our conversational search powered by Generative AI!

Access rights on Scheduled Job



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.



Dec 22, 2014 22:38

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.

Dec 22, 2014 22:51

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. 

Dec 22, 2014 23:03

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

Dec 22, 2014 23:31
Dec 23, 2014 10:33

Thanks Alf,

I think I can get with this information somewhere.



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.