1.

How Many Ways We Can Share A Record?

Answer»

Role Hierarchy:

  • If we ADD a user to a role, the user is above in the role hierarchy will have read access.
  • Setup --> MANAGE USERS --> roles --> setup roles --> click on ‘add role’ --> provide name and save.

OWD:

  • DEFINES the BASE line setting for the organization.
  • Defines the level of access to the user can see the other user’s record
  • OWD can be Private, Public Read Only, Public Read and Write.
  • Setup -> Security Controls -> sharing settings -> Click on ‘Edit’

Manual Sharing:

  • Manual Sharing is sharing a single record to single user or group of users.
  • We can see this button detail page of the record and this is visible only when OWD setting is private.

Criteria Based Sharing rules:

  • If we want to share records based on condition like share records to a group of users
  • Whose criteria are country is India.
  • Setup -> security controls -> sharing settings -> select the object and provide name and Conditions and save

Apex sharing:

Share object is available for every object(For Account object share object is AccountShare ). If we want to share the records using apex we have to create a record to the share object.

Role Hierarchy:

OWD:

Manual Sharing:

Criteria Based Sharing rules:

Apex sharing:

Share object is available for every object(For Account object share object is AccountShare ). If we want to share the records using apex we have to create a record to the share object.



Discussion

No Comment Found