Query to fetch Role name and Profile Name from User Object October 7, 2013February 1, 2023InfallibleTechie Admin SOQL: SELECT UserRole.Name, Profile.Name FROM User Output: