+ Start a Discussion

Batch Apex Run in User Mode



Is there any way to change the Batch Apex User Running mode? By default Batch Apex code executes in

System mode, now i need to change it to User mode,Is it possible.


If any one know please tell me.





you can try "with sharing" key word while defining your class.


This will implement sharing rules.



Shashikant SharmaShashikant Sharma

If the batch is invoked from a with sharing class then it will run in user mode.