That’s the reason I created this topic! I was making a global donation board and I needed to get the display name of players that aren’t in the game.
Thanks for the contributions both @AlreadyPro and @John_15051 but this is a solved thread and it doesn’t really warrant further replies.
@AlreadyPro: What I meant by “Seems difficult compared to getting the username.” was that with username you can just do GetNameFromUserIdAsync and I assumed they did the same with DisplayName, not have to get it through some rando dictionary.
Yeah, I agree. It’s also weird that GetUserInfosByUserIds is under a whole different service. There’s also no way to get DisplayName directly from a username. In my case, where I’m only given a username, this means I have to make two different web calls (GetUserIdFromNameAsync & GetUserInfosByUserIdsAsync) just to get the DisplayName.
That’s exactly what I have to do as well, cause the Datastore is sorted by UserId so I have to get the Username and the Display name from different services and different functions. Kinda weird.