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
RajeshwarRajeshwar 

Bs profile does not have access to Test object, Bs profile is assigned to "X" user. Is there any possiblity to show Test object records to " X" user.Please explain

DeepthiDeepthi (Salesforce Developers) 
Hi Rajeshwar,

I believe the Test object's records can be accessed by the X user when there is Role hierarchy setup in your org.
Roles (configured under Admin Setup->Manage Users->Roles) are used to control which Salesforce records are available to Users assigned to the Role. Top level Roles can contain lower level Roles.  

Record access is determined by the Role of the Record Owner.  Any member of the Role hierarchy above the Record Owner’s Role will have access to the record. Users in the same Role as the Record Owner, and Users in Roles outside of that hierarchy, may or may not have access.

For more details, check the below links:
https://developer.salesforce.com/docs/atlas.en-us.fundamentals.meta/fundamentals/adg_securing_data_roles_profiles.htm 

https://help.salesforce.com/apex/HTViewHelpDoc?id=admin_userprofiles.htm&language=en 

https://help.salesforce.com/apex/HTViewHelpDoc?id=admin_roles.htm&language=en 

Hope this helps you!
Please mark this solution as best answer if it resolves your issue, so that it can be helpful to others.

Best Regards,
Deepthi
RajeshwarRajeshwar
Thanks Deepthi for your explanation.

By the Sharing settings Test Object records able to view "X " user or not ?

Thanks,
Rajeshwar