question

avimon avatar image
avimon asked

GetUserAccountInfo vs GetAccountInfo

Can someone explain me the difference between GetUserAccountInfo and GetaccountInfo?

Account Management
10 |1200

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

1 Answer

·
brendan avatar image
brendan answered

Both return information on a PlayFab user account. GetUserAccountInfo is a Server (and Admin) API call which returns all the player's info. GetAccountInfo is a Client API call which returns the info with no PII info, if it's for another user.

The naming convention is a reflection of the fact that GetAccountInfo was originally only intended for retrieving the details of the currently signed in user - not those of others.

10 |1200

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

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.