Dear Edison,
You can achieve this if User B is reporting to User A, in that case if you use access context as 1015 Employee or territory or sales data and put restriction rule as 1 - Recommended: Assigned Employees (for Managers) or my workforce in that case you might able to get desired result
Regards,
Surjeet Bhati