A user repository is a database or a centralized storage system that contains information about the users of an organization. It is a place where user identification data and attributes are recorded and managed in a centralized manner.
A user repository allows you to list all the users of an entity. This includes employees, of course, but also freelancers, temporary workers, and all categories of users who are not usually managed by the HR department.
This user repository is a prerequisite for entitlement management because it allows to arbitrate on the legitimacy of an account based on the administrative and functional characteristics of a user.
For example, it is a user's status (gone, present, not yet arrived, etc.) that determines whether their accounts should be active or suspended.