As part of a task, I need to look into Salesforce to grab users and find what licenses they are using (all through SOQL so far, with Oauth authentication).
As part of my research, I looked up the
UserLicense object, but the
LicenseDefinitionKey field is really not that helpful (values don't reflect proper license split or names).
Is there any other object I should be looking at which may contain proper licenses? I don't think I am the only one around looking for that.
Edit from comments:
What I get from field LicenseDefinitionKey:
- AUL: corresponds to the Salesforce Platform user license
- AUL1: corresponds to the Salesforce Platform One user license
- SFDC: corresponds to the Full CRM user license
What I would like to find: proper licenses as per Salesforce "Company Information":