I'm registering users via my web-client, but I want to be able to add custom fields when sending request to register user to Playfab API, i.e. "user", "admin" etc.
I'm registering users via my web-client, but I want to be able to add custom fields when sending request to register user to Playfab API, i.e. "user", "admin" etc.
May I know what are these custom fields used for? Are they provided by the players themselves ( they can write/read such data) or are only writable by the server-side?
These fields are used by an admin who registers users in bulk (assigning users as admin, teacher, student etc.). These fields are to be used in-game later on for defining permissions to certain areas/actions.
In that case you can use UpdateUserReadOnlyData or UpdateUserInternalData to store those fields into Player ReadOnly Data (players can only read it from the client side) or Internal Data (players cannot access it from the client side).
2 People are following this question.