izmaylovdev
izmaylovdev

Reputation: 1880

How get users emails in though query

Parse doesn't return users emails in query response, but I need get emails in basic find query, how can I get it?

Upvotes: 1

Views: 612

Answers (2)

Muz
Muz

Reputation: 5980

Email access is restricted for security reasons, but using a master key will give access.

Instead of

query.find()

add a master key request in the find

query.find({useMasterKey:true})

Upvotes: 1

flovilmart
flovilmart

Reputation: 1769

Emails are not accessible for security reasons by no-one. Only a call with the masterKey can read the emails from the users table.

This is a preventive security measure in order to avoid data leaks.

Upvotes: 5

Related Questions