I would like to get a list of users/groups that have access to a Sharepoint site. In addition to the list of users and respective e-mails, I'd like to know what level of access the user has to the site (
I've been able to get some data by using SiteUsers:
https://my-company.sharepoint.com/sites/Testsite/_api/Web/SiteUsers and can parse JSON elements. I'm able to get the user names and e-mails, but I don't see how to get the access level (role?) from here. Is there a better REST API to get this data?