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