function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Devaraj 7Devaraj 7 

what is the relationship between roles and profiles

Sagar PatilSagar Patil
Hi Devraj,

Profile controls object level access whereas Role controls record level access.

Profile determines what a user can access in org whereas Role determines what user can see in org.

Profile is mandatory for every user whereas Role isnt.

Hope this helps!

Regards,
Sagar
Deepak Kumar SharmaDeepak Kumar Sharma
Hi Devaraj,
Roles provide a way to control the access or visibility on record in Role Hierarchy while profile is used to provide control access for objects, tabs and pagelayouts for perticuler user. Each user have their own profile that defines how much accessibility of org, user can have while roles decide which important details or record user can access or have right to access in Role Hierarchy.

Thanks