Using the Organization
object we can differentiate between Production or Sandbox orgs using IsSandbox
. Is there any programatic way to differentiate between a Developer Free Org vs a typical Production Org?
I see there is Organization.OrganizationType
with following values, but it holds value as followings
- Enterprise Edition (dev org created from partner portal)
- Developer Edition (typical dev org)
Is there any easy and deterministic way to differentiate between Production and Developer Edition orgs?