question

Fuzail Sarang avatar image
Fuzail Sarang asked

How to get a list of all master player accounts?

We have a scenario in testing, where we created some accounts and then deleted the title player account. We now actually want to delete all the test master player accounts but there is no way to find them either in Game Manager or via the API.

Player DataAccount Managementgame manager
10 |1200

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

Citrus Yan avatar image
Citrus Yan answered

Hi, there is no access to the list all master player accounts via Game Manager or API. It makes no difference whether you delete them or not, may I know the purpose of deleting them?

If you really need to delete them, do you remember the identities(such as custom id) of the test master accounts you created? If so, you could create a new title and log in with custom id that you used to create the test master accounts, the players with the test master accounts will be created, then you could delete them.

Also, you could check events of the title to see the master player account ids and delete the accounts according to these ids.

By the way, you could make a feature request about getting a list of master player accounts here: https://community.playfab.com/spaces/24/index.html

1 comment
10 |1200

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

george@thenuum.com avatar image george@thenuum.com commented ·

Why is this not fixed yet? How can a feature leave an account used, when no one has access to the account. The whole point of a back end is to have access to this information. So if someone made an account with an email for testing purposes. Then we decide to delete the player, we have no access to that email. Can we send them a reset password? That email can never be used in any of the titles because no one has access to it, not even the back end? I think is crazy logic.

0 Likes 0 ·
tgodfrey avatar image
tgodfrey answered

I ran into this same issue when testing deleting a player from a title. Now I cannot add a player with the same email address back into a title because the master account is still there using that email address.

13 comments
10 |1200

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

Citrus Yan avatar image Citrus Yan commented ·

Title Player deletion only removes the player from the title, its master player account along with the email address are not deleted, therefore you cannot re-use that email address.

-1 Like -1 ·
tgodfrey avatar image tgodfrey Citrus Yan commented ·

Exactly. So how are we supposed to find master accounts that don't have any active titles and remove them so new accounts can be created?

2 Likes 2 ·
Citrus Yan avatar image Citrus Yan tgodfrey commented ·

As a workaround, might be little bit of a hassle: you can use GetTitlePlayersFromMasterPlayerAccountIds to check whether the current master player account has title player accounts in each title under the same studio or not (by iterating each of the title).

0 Likes 0 ·
Show more comments

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.