Hi,
Is there any way to update username or email ID.
I need to change them through unity
Thanks
Hi,
Is there any way to update username or email ID.
I need to change them through unity
Thanks
The Username is a fixed value, and cannot be changed. The Contact Email Address can be changed via AddOrUpdateContactEmail. The Master Player Record email address, like the Username, is a set value, and cannot be changed (for security reasons), though your customer service reps can change the email for the user, if you've given them the permission to do so via the Role you've given them on your title.
Thanks for your reply. but in my app i want the user to login through username and password. and username must be unique. Also give permission to user to change his/her username in the future.
Please guide me how can i achieve this functionality using playfab.
You can log in using username/password via LoginWithPlayFab. You would create users for that login method using RegisterPlayFabUser. And yes, the Username must be unique to the player. Specifically, it must be unique across all games in your Studio, since they share their authentication layer (the Publisher ID space). But no, it is not possible to change the Username later - the Username is specifically a fixed value identifying the account.
Thanks.
But Is there any way to make a field in playerdata and make this field primary or unique? Also can change this field as per need.
You can write whatever you like to player data, as long as it fits within your data size limits. But that value would not be the PlayFab Username on the account - it would be your own custom value. And no, you would not be able to guarantee uniqueness on that value across all players.
2 People are following this question.