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
ch ranjithch ranjith 

Differences between role and profile? Please give brief answer?

Best Answer chosen by ch ranjith
Prem_PalPrem_Pal
PROFILE --> Controls the CRUD operations that can be performed on any object. Use this when you need to define permissions for a group of users in your org.

You can control the object level and field level accessibility through profiles.

ROLE --> Controls the visibility of records depending on the role-hierarchy defined in your org. 

You can control record level accessibility through roles.

All Answers

Sonam_SFDCSonam_SFDC
Profile defines your LEVEL of ACCESS on the records you create under various objects together with the permission you have available once you login to your Account.

Role defines WHAT data you can see(manager/subordinate) if there is a hierarchy in place in your ORG and is defined with a tree structure
Prem_PalPrem_Pal
PROFILE --> Controls the CRUD operations that can be performed on any object. Use this when you need to define permissions for a group of users in your org.

You can control the object level and field level accessibility through profiles.

ROLE --> Controls the visibility of records depending on the role-hierarchy defined in your org. 

You can control record level accessibility through roles.
This was selected as the best answer