Am I able to get a PlayFabId in Cloudscript by a Display name? For instance I want to use a referral system but I want the referral code to be the players displayname, not their PlayFabId as it's easier to customize etc.
Am I able to get a PlayFabId in Cloudscript by a Display name? For instance I want to use a referral system but I want the referral code to be the players displayname, not their PlayFabId as it's easier to customize etc.
No, It is not supported natively by PlayFab as the identity usually should be Player Master/Title/Character ID.
What you expose to the players and use in the backend can be different. Player can only see the DisplayName in the game, but when doing a referral action, an identity is retrieved in the backend and used when executing Cloud Script.
In addition, you are free to send a thread on our Feature Requests forum so that votes from other players may help with the priority.
1 Person is following this question.