Role name and Profile Name from User Object using SOQL — Salesforce 365


How to get the Role name and Profile Name from User Object using SOQL We can get the Role Name and Profile Name details from User Standard Object for the current context SOQL Query: SELECT Profile.Name, UserRole.Name FROM User Below is the code to retrieve the User Role Name and Profile Name based on the […]

via Role name and Profile Name from User Object using SOQL — Salesforce 365

Advertisements