How do I use SOQL to determine what edition of SFDC someone has? Such as essential, professional, etc...

  • By the way, this may be X-Y Problem. It is generally advisable to use feature detection whenever possible, as there are many features that can be enabled independently of edition (sometimes as an extra cost, or for other reasons).
    – sfdcfox
    Commented Dec 7, 2020 at 22:18

1 Answer 1


You can either check via the steps mentioned in this help article or use the below soql:

SELECT Id, OrganizationType FROM Organization

Not the answer you're looking for? Browse other questions tagged .