Dear Team,
I am trying to make the group and admin can get and read player data of members in the group. Could you tell me how does an admin of group get Player Data (Title) of members?
Thank you so much.
Dear Team,
I am trying to make the group and admin can get and read player data of members in the group. Could you tell me how does an admin of group get Player Data (Title) of members?
Thank you so much.
Currently, there is no single API can achieve this. It is not recommended but you will need to get the list of players via ListGroupMembers API call and then iteratively call additional APIs GetUserData. May I ask what is the scenario?
Hi @SethDu: Thank you for your answers. I am trying to get Player Data Title of each member in the group as the method below:
- Using PlayFabProfilesAPI.GetProfile() to get MasterPlayerAccountId (Playfab ID) of each member.
- Admin of group will execute the Azure CloudScript Function with the Function Parameters: Playfab ID and Data Key.
- In the Azure Function, adminAPI.GetUserData() is used to get Player Data Title as the reference.
How do you think about this method?
Thank you so much again!!!
It should work fine. Please also note that it is necessary to cache a local copy of a list of members on the client, and the local data is updated once a while so that when you try to get the player data, you may skip the first step.
3 People are following this question.