Adds endpoint for guids of users with a particular scope

[#80470584]