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 

Please share your knowledge.profile set vs owd set

I have 100 users with  same profile . profile name isX .here i want to give Permission to 90 users - for access  The ABC Object  ..other 10 user cannot access the ABC object.
how to  set OWD For above task ?How to set profile for the ABC object.?what are the way we  can achieve this?.Please share your knowledge.
Ramu_SFDCRamu_SFDC
To do this, firstly you need two different profiles 1) giving access to abc object and 2) restricting access to abc object.

OWD settings are made to restrict the record access and not Object access.

For example out of the 100 users if you want 90 users not to see the 10 users data or vice versa, you make the changes to OWD while keeping a single profile for both these users. However, in case you do not want to give the access to the object itself, you would need to create another profile and remove the access.

Hope this helps !!
dineshkumardineshkumar
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
WHEN I SET  PROFILE - CRUD ACCESS - CAN I CREATE OBJECT RECORD FOR THAT  PROFILE USER IS IT CORRECT?
WHEN I SET OWD- PUBLIC READ /WRITE-CAN I CREATE OBJECT RECORD?
WHAT IS DIFFERENT OWD VS  PROFILE?
praveen murugesanpraveen murugesan
Hi dinesh,

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.

Refer this link ther difference is clearly mentioned.

https://developer.salesforce.com/forums/?id=906F0000000AUn7IAG
https://success.salesforce.com/answers#!/feedtype=SINGLE_QUESTION_DETAIL&id=90630000000gnk8AAA
http://blogs.salesforce.com/community/2012/05/security-lets-not-fight-it.html

If its helps you mark this as best answer

Thanks 

Praveen Murugesan.