In Salesforce, what is the primary function of the role hierarchy?
A.To control record-level access by allowing users higher in the hierarchy to access records owned by users below them
B.To define the organizational chart for HR purposes
C.To assign permission sets to users based on their roles
D.To automate sharing rules based on user profiles