How to get User details along with User License using SOQL in Salesforce? December 22, 2019June 9, 2022InfallibleTechie Admin Sample Query: SELECT Id, Name, Profile.UserLicense.Name FROM User WHERE Name IN ( ‘Magulan Duraipandian’, ‘Test Test’ ) Output: