Reply
Regular Contributor
$Abhi$
Posts: 14
0

User Context for batchable classes

Hi,

 

I have a APEX class that implements the Database.batchable Interface.As per my knowledge the batch jobs run in system context, and are not limited by the sharing rules.

I wanted to know that, if a class implements the Database.batchable Interface then, is the constructor of this class run in system context or or not.

Any pointers on the same would be of great help.

 

Thanks

Thanks,
Abhi
Trusted Contributor
crop1645
Posts: 359
0

Re: User Context for batchable classes

Refer to the Apex Developer's Guide - section entitled "Using the with sharing or without sharing Keywords" for a full discussion of this topic

Eric