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
Allan SongAllan Song 

Any API for getting which edition for current logged in user?

Hi, guys
As you know, after a sfdc user logged in salesforce.com site, he/she could see which edition he belongs to in browser title(such as "salesforce - Enterprise Edition - Mozilla Firefox" if he is of Enterprise Edition user),
So who knows is there any API to get the user edition if he/she has logged in the site?

Thanks in advance.
benjasikbenjasik
No good way to do this today, we'll be adding this to getUserInfo in a future release.

You could try to query for an object that is only in Enterprise Edition, and if it fails, assume you are in Professional
VasilShVasilSh
Hello Benji
Could you please let me know which object  I have to query that is only in Enterprise Edition ?
Thanks
Vasil