question

leejungyeul avatar image
leejungyeul asked

Can I use player ID to check if ID is in the PlayFab or not?

Can I use player ID to check if ID is in the DB or not?

Like this fuc: FindUserByID(string playerID);

unity3d
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

·
JayZuo avatar image
JayZuo answered

I'm not sure what is the "DB" you are referring to. But if you want to check if the ID is in PlayFab or not, you can try with GetAccountInfo method. With this method, you can specify the PlayFabId parameter, and if this ID exists in your title, you will get the account information for this user. If not, it will give you a "AccountNotFound" error. If you want to get more info about the user, you can also use GetPlayerCombinedInfo. If I misunderstand your question, please feel free to let me know.

2 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.

leejungyeul avatar image leejungyeul commented ·

oh, Your prediction was correct. Your advice was very helpful. Thank you!

0 Likes 0 ·
leejungyeul avatar image leejungyeul leejungyeul commented ·

I mean DB is PlayFab(DataBase).

0 Likes 0 ·

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.