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
Nandhini s 11Nandhini s 11 

How to share a user's record with another user?

Say, there are 3 users. User A, User B and User C.
User A wats to share his records with user B and User C.
He wants to give read access to User B and read write access to User C.
Is this possible?
Best Answer chosen by Nandhini s 11
Raj VakatiRaj Vakati
You can able to do it manual sharing .. 

First share the record with user B with Read access 
Then Again share the same record with user c with read+write accesss



You can control whether the Sharing button is displayed on user detail pages. This button enables a user to grant others access to the user’s own user record. You can hide or display this button for all users by following these steps.


https://help.salesforce.com/articleView?id=security_sharing_owd_user_manual.htm&type=5
https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/users_sharing.htm

All Answers

Raj VakatiRaj Vakati
You can able to do it manual sharing .. 

First share the record with user B with Read access 
Then Again share the same record with user c with read+write accesss



You can control whether the Sharing button is displayed on user detail pages. This button enables a user to grant others access to the user’s own user record. You can hide or display this button for all users by following these steps.


https://help.salesforce.com/articleView?id=security_sharing_owd_user_manual.htm&type=5
https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/users_sharing.htm
This was selected as the best answer
Deepali KulshresthaDeepali Kulshrestha
Hi Nandhini,

Greetings to you!

You can control whether the Sharing button is displayed on user detail pages. This button enables a user to grant others access to the user’s own user record. You can hide or display this button for all users by following these steps.

1) From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Settings.
2) Click Edit in the Organization-Wide Defaults area.
3) Select the Manual User Record Sharing checkbox to display the Sharing button on user detail pages, which enables users to share their records with others. Or deselect the checkbox to hide the button, which prevents users from sharing their user records with others.
4) Click Save.

When the organization-wide default for users is set to Public Read Only, users get read access to all other user records, can see those users in search and list views, and can interact with those users on Chatter and Communities.

Reference Link: - https://help.salesforce.com/articleView?id=000004148&type=1

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha.
Nandhini s 11Nandhini s 11
Thanks for your answers.I have one more doubt.
Is it possible to share a record with a single user/Profile via sharing rules?