Bahmni: Users and roles

I created a new user and assigned Appointments:ManageAppointments role. But logging in with the user credential shows an error Could not find the provider for this account. Selecting provider identifier solves the issue.

What is the difference between the provider identifier and the Provider role?