_api/web/siteusers? I get a lot of usernames and email adresses.
With XPath I managed to filter them.
Then I realized that there were a huge amount of usernames and email adresses who don't have access to my page.
In SharePoint theREST API
/_api/web/siteusers endpoint only provides the list of users has permission on current web.
How can I fetch the users who have the permission to use my Sharepoint page?