Concepts or coding lessons of Salesforce that you can implement easily

Sharing and Visibility Scenario based Interview Questions Part 2

11. User A is on vacation and User B wants temporary access of records owned by User A, how to share those records?

Ans: For this we have to use "Login Access" feature to log in as another user. Enable "Manage Login Access Policies" checkbox under User B`s profile.


12. User A is not having CRED permission on Account Object even User A is not having VIEW ALL and MODIFY ALL permission and OWD is private still User A is able to Create record. What could be the possible reason ?

Ans: May be there is Apex class (without sharing) which have logic to create Account record.


13. User A have CREAD permission on Account Object and User B shares Account record with View access. User A is not Owner of that record but still can EDIT the record, what could be the reason ?

Ans: User A may be have Modify All Permission for account object.


14. Manager wants to see all records owned by their team members. How to achieve this without giving Full Permission?

Ans: Set Manager on higher in Role hierarchy. And Set OWD to Private and then create sharing rule to grant access to manager for their teams records.


15. User A and User B should not VIEW or MODIFY each other data, how to achieve this?

Ans: OWD must be Private. Users should not be higher each other in Role hierarchy. Both Users should not have VIEW ALL and MODIFY ALL permission on profile. WE have to check other sharing rules.


16. User A can see User B data, but User B not able to see User A data, what could be the reason ?

Ans: Check if both users are on same Role hierarchy, if yes then check profile. if profile also same then check is there any record level sharing like sharing rule, apex sharing process which shares data.


17. User A have Read and Edit access on Account object under Profile, User B manually shares account record with Read Access with User A, can User A EDIT that shared record ?

Ans: No, although User A have Read and Edit access on Profile, user A cannot EDIT shared record. User A only can EDIT those Account which he owns.


18. User A wants to share specific Opportunity with User B who is not in same role or hierarchy. How to achieve this?

Ans: We can achieve this using Manual Sharing. To share opportunity with other users who is not in same role or hierarchy, we can use Manual Sharing.


19. User A reported that he can see records which he should not have access, how to troubleshoot and resolve this ?

Ans: Check User profile and role hierarchy to ensure he is not granted access for those records.

Also review Sharing settings for objects

Check VIEW All and MODIFY All is disabled on profiles

Check if any permission set have this access

Check if he is member of any public group or queue

 

20. OWD for Account is Private and User A need to access few Account records, without changing OWD, how we can achieve this?

Ans: Use Manual Sharing and assign those few records with User A.



Read More: Sharing and Visibility Scenario based Interview Questions Part 1
                    


Latest Salesforce Interview Questions and Answers: