question

joel-2 avatar image
joel-2 asked

How to allow client access to contact email for own profile only

In the game manager Client profile options, you can allow or deny access to contact email addresses. This seems to allow or deny access globally, rather than distinguishing between only a user getting their own contact email or getting other's contact email. In other words, if I disable this option, and call LogInWithCustomID where the profile contraints request the PlayerProfile and contact email addresses, there is an error. This is in spite of the fact that the description of GetPlayerCombinedInfo says that PII will be available for the calling user.

Is it just not possible to expose contact email addresses only for the calling user?

Account Management
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
JayZuo avatar image
JayZuo answered

Yes, it is impossible to expose contact email addresses to only the owners with setting Client Profile Options. As you've known this setting is globally as it's at the title level. I'd suggest you disable Contact email addresses in the setting and set the addresses in Player Data with Permissions set to "Private". So that only the player himself can get contact email addresses.

And for the PII in GetPlayerCombinedInfo, it's some infos like email address, facebook id, user inventory etc, which does not contain player profile. Please note that the email address here is the Master Player Account email address - so, if you use email/password to sign the player in, or added it via AddUsernamePassword. It not the contact email address under Title Player Account.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.