Is there an API method to return what edition current customer is using?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
You can query the OrganizationType from the Organization object.
As of API 32 possible values are: ["Team Edition","Professional Edition","Enterprise Edition","Developer Edition","Personal Edition","Unlimited Edition","Contact Manager Edition","Base Edition"]
Where Team Edition is commonly referred to as Group Edition and Base Edition is known as Performance Edition.
These values are derived from:
Use below class to determine the instance and edition of salesforce.