• Sign Up Login
  • Features
    • Game Services
    • Real-time Analytics
    • LiveOps
    • Add-ons
  • Game Services
  • Real-time Analytics
  • LiveOps
  • Add-ons
  • Games
  • Pricing
  • Blog
  • Support
    • Docs
    • Forums
    • Contact
  • Docs
  • Forums
  • Contact
  • Sign Up Login
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by analytics · Feb 24, 2017 at 12:08 PM · apis

Server GetUserAccountInfo with FriendTitleDisplayName

Hello,

Are there any short-term plans to enable use of FriendTitleDisplayName param while calling Server.GetUserAccountInfo ?

Thanks.

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 Brendan · Feb 24, 2017 at 06:02 PM

Can you describe the scenario in more detail? What would the situation be in which the server has a Title Display Name, but does not have access to the PlayFab ID already? If it's a Title Display Name sent up by the client, why would the client not simply send the PlayFab ID?

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 analytics · Feb 26, 2017 at 11:44 AM 0
Share

The scenario is as follows:

1. We generate a Friend Id for a user. (Which is ddd-ddd format)

2. This friend id is set as Display Name for the user.

3. Other players can add others as friends using this shared friend ID. (they share this id via forums, social platforms etc.)

4. Since we need to set other data while adding someone as a friend (using CloudScript) and the CloudScript function receives only the display name, we need some way to map Display Name -> PlayFab ID.

Hope the scenarios is clear.

Edit: Currently in order to support this, we call "GetAccountInfo" from the client to learn PlayFabId.

avatar image Brendan ♦♦ analytics · Feb 26, 2017 at 06:21 PM 0
Share

Thanks, using GetAccountInfo from the Client was going to be my suggestion. I'll add a backlog item for being able to look up accounts by Title Display Name, but it does sound like you have a working solution for this at the moment.

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

    2 People are following this question.

    avatar image avatar image

    Related Questions

    How to grant multiple stackable items in one call? 1 Answer

    Advantages of CloudScript over Calling JavaScript from Node.js 1 Answer

    Packaging UE4 game with PlayFab 2 Answers

    Integrate Photon server with playfab ios sdk 1 Answer

    Region Ping measured RTT inaccurate/high using Unity HTTP, recommendations or ICMP ping protocol support? 1 Answer

    • PlayFab

      • Features
      • Games
      • Pricing
      • Blog
    • Engineers

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

      • Forums
      • Videos
      • Contact
      • Service Health
      • Terms of Service
    • Social

      • Facebook
      • Twitter
      • LinkedIn
      • YouTube
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • About Microsoft
    • Jobs
    • Accessibility
    • Diversity & inclusion
    • Security
    • Company news
    • © Microsoft 2019
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Post an idea
    • Create an article
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges