Tuesday, March 18, 2014

UserType and License Types in Salesforce


Salesforce has a few different license types, which you can clearly see from under the Company Info section.  However to process user records based on license types it's less straightforward.  There's a UserType field on the User object, which is related to license types not in a clear one-to-one way (see below for mapping).


A better way to get to license type is through relationship Profile.UserLicense.Name on User, which contains the exact labels you see from the User Licenses section.