Getting resource by identifier as a specific user