Salesforce Interview Questions
What is the difference between a Profile and Role? Profile deals with CRED (Create, Read, Edit and Delete) permissions over Apps, Tabs, sObjects, Fields, Record Types, etc... Role: Record Level Access (OWD, Role hierarchy, Sharing rules, Manual Sharing) Profile: Object Level Access and Field Level Access Role determines what is visible to the user Profile determines what actions they are allowed to perform Permission Set To improve the permissions for the users over profiles we should go for Permission Sets. It cannot be used to restrict permissions. Example: To give additional permissions to few users who belong to different profiles over Apps, Tabs, sObjects, and fields. What are OWD and sharing rules? [OWD -> Role Hierarchy -> Sharing Rule -> Manual Sharing] organization-wide sharing settings can be set to Private, Public Read Only, or Public Read/Write . In environments where the organization-wide sharing setting for an object is Private or Public Read Only, an admin can g