What permissions does user need to call System.abortJob() in Apex?

When the method is called this error is displayed:

System.SecurityException: Insufficient Privileges.


  • Standard System Admin Profile should do it. Feb 27 '13 at 20:54

UPDATE: I just confirmed with testing that the "Modify All Data" system permission is what is required to use the System.abortJob() method. Unfortunately, there isn't any specific permission to allow this by itself.

  • Thank you. So, if I got it, when the user is not a System Administrator is not possible to execute System.abortJob() method and there is no permission to it. Are there difference between a customer org and a development org to it? In the customer org, can another users execute the method through a managed class? Feb 28 '13 at 11:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.