You need to sign in to do that
Don't have an account?
How to access the "User License" field on User via Apex?
I want to monitor changes to this field using a trigger, but cannot figure out where it's located. This field only seems to be available via UI and API.
You can use User.Profile.UserLicense.Name
All Answers
You can use User.Profile.UserLicense.Name