Try this, Setup-->Manage Users-->Users-->Click on User record for which you want to determine User license-->On User record you will find User License field.
If you want to get this from apex code then here it is :
List<User> userLst = [select UserType,Profile.UserLicense.name from User where Id = '00590000000ETk0'] ;
System.debug('userLst :: ' + userLst[0].Profile.UserLicense.name) ;
Hi,
Try this, Setup-->Manage Users-->Users-->Click on User record for which you want to determine User license-->On User record you will find User License field.
Hope it helps.
Regards,
Devendra S
If you want to get this from apex code then here it is :
Thanks
Ankit Arora
Blog | Facebook | Blog Page