User to see only data related to his company

In a group of companies, how do I make a user see only things concerning his company?

I want when a user, an Employee of Company (A) logs in, he should only see information related to Company (A) while user for Company (B) sees information related to Company (B)

This case may help Problem with Multi-Company User Permission

Check user permissions:

https://docs.erpnext.com/docs/user/manual/en/setting-up/users-and-permissions/user-permissions