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
ram123ram123 

App License Detecting in Apex ?

is it possible to find out from apex, what are the App licenses enabled in a given org ? ex: I'm looking for Content is enabled and available to a org or not ?

 

Thanks

Ram

MandyKoolMandyKool

Hi,

 

Not sure whether we can do it on Org Level; but there is a object called "UserLicense".

You can use this object to find out the licenses. If it is available for one user; it will be available for the entire org. 

 

May be this will solve your problem.