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
dineshkumardineshkumar 

hi how to

I have confuse abt OWD -(PRIVATE ,PUBLIC READ AND PUBLIC READ/WIRITE) VS profile (CRUD AND VIEW ALL AND MODIFYALL ) .
OWD-RECORD LEVEL ACCESS
PROFILE - OBJECT LEVEL ACCESS
1.WHEN I SET CRUD ACCESS FOR THAT PROFILE - CAN I CREATE OBJECT RECORD FOR THAT PROFILE USER IS IT CORRECT?
2.WHEN I SET OWD- PUBLIC READ /WRITE-CAN I CREATE OBJECT RECORD?
Both 1 and 2 allow to Create records?
Here What is the use of OWD over Profiles?
3. If I set Profile View all , Modify all ,Is it Possible to set OWD is Private?
I have confuse about OWD Vs Profiles?
Thanks in Advance...
Sonam_SFDCSonam_SFDC
OWD is an ORG level set for the records owned by all users - such that when it is set to PRIVATE - users can only see the records they own.
When READ ONLY - they can read the records owned by others and READ/WRITE - they can read/edit the records of others

vs

PROFILE tells user what they can do with the records they OWN - such as for Accounts - if it is set to Create - they can only CREATE accounts - they do not have the perms to EDIT/DELETE/TRANSFER the account they own.

1)yes you can.
2)they two doesn't have a relation - read the above description to underdtand this better
3)yes it is possible as they are not dependent.