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

Getting number of SF Licenses

There is a requirement to get the number of SF Licenses allocated in the ORG via the API...the same details that are viewable under Company Profile. How can this be achieved?
Much appreciated, Thanks.
There isn't a way to know this in the API that I can see. The only way to find out is to keep creating users until you get an error stating you can't activate any more users. I'd recommend submitting a feature request.

~ sfdcfox ~