I need to distinguish different Org type as follows
- Production Org
- Sandbox Org
- Developer Org
- Demo Org (created by Salesforce, sometimes called SDO - or created by partners, sometimes called PDO)
- Trial Org (customer org which will expire)
To distinct Sandboxes I found this Can we determine if the Salesforce instance is production org or a Sandbox org?
select Id, IsSandbox from Organization limit 1
Is there something comparable to distinct the rest?
In addition: is there a way to distinct the different sandbox-types:
- developer pro
- partial copy
- full copy