Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- User Context for batchable classes
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
User Context for batchable classes
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-15-2012 04:11 AM
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
Abhi
0
Re: User Context for batchable classes
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-20-2012 06:18 PM
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

