function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Niki_16Niki_16 

SOQL to retrieve Leads/Contacts that are available by deafult in a salesforce account.

I want an SOQL to filter out those leads and contacts that are added by salesfor in a salesforce account. Kindly help.
Mike LeachMike Leach

select Id from Lead where OwnerId != [filter out userId]

 

(???)