+ Start a Discussion
Sanchai CRM-CSanchai CRM-C 

SOQL select cross private data.

Hi All

 

I have found some problem about SOQL query.

I have set private record.

Each user can see the own record. But I need to use APEX code to query all data. Not only find in their record.

 

Do you have any idea?

Best Answer chosen by Admin (Salesforce Developers) 
osamanosaman

Use the class with "without sharing" token.