Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Kim Strasser · Oct 19, 2020 at 08:40 PM · Account Management

Is it possible to create two accounts on the same iOS or Android device for the same title?

Is it possible to create a new player account with client API AddUsernamePassword if the player has already created an account on this iOS/Android device for the same title before?

Is it necessary to use UnlinkIOSDeviceID/UnlinkAndroidDeviceID on the device before the player can create a second account with client API AddUsernamePassword?

Is it necessary to call LinkIOSDeviceID/LinkAndroidDeviceID immediately after a player has created a new account with client API AddUsernamePassword or is the deviceID automatically linked to this account when I use AddUsernamePassword?

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Citrus Yan · Oct 20, 2020 at 05:54 AM

Client API AddUsernamePassword adds playfab username/password auth to an existing account, it does not create a new player account. Therefore, in your case, have the player log in using its IOS/Android Device Id, then call AddUsernamePassword to add username & password for the account. After that, the player can use both the device id and username/password to log into its account (the same account).

Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kim Strasser · Oct 20, 2020 at 08:07 AM 0
Share

Is it necessary to call LinkIOSDeviceID/LinkAndroidDeviceID after a player has called client API LoginWithPlayFab on a new device? I want that the player can login afterwards with LoginWithIOSDeviceID/LoginWithAndroidDeviceID on his new device. I don't want that the player always needs to use LoginWithPlayFab on his new device.

Is it possible that a certain Android or iOS DeviceID is simultaneously linked to two different player accounts? I think that it is not possible but I just want to be sure.

avatar image Citrus Yan ♦ Kim Strasser · Oct 21, 2020 at 10:03 AM 0
Share

>>Is it necessary to call LinkIOSDeviceID/LinkAndroidDeviceID after a player has called client API LoginWithPlayFab on a new device?

Sure, you can do that.

>>Is it possible that a certain Android or iOS DeviceID is simultaneously linked to two different player accounts? I think that it is not possible but I just want to be sure.

No, it cannot be linked to multiple accounts.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    Link cross-device with the same account 1 Answer

    Searching on non-unique title display names 1 Answer

    Facebook Friends added even if no Title ID... Master accounts with phantom game accounts... and more player profile craziness!!! 1 Answer

    How to fix creating a new user on iOS every time app is uninstalled and installed again 3 Answers

    Delete player throught cloudscript 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges