API To Retrieve DisplayName from UserId

Currently it’s impossible to retrieve the DisplayName of a user not in the server.

An API method similar to Players:GetNameFromUserIdAsync(userId) would be ideal. For example:

local displayName = game.Players:GetDisplayNameFromUserIdAsync(82347291)
print(displayName)

Ben

A HumanoidDescription.DisplayName property would also be very helpful.

4 Likes

You can already do this using UserService:GetUserInfosByUserIdsAsync, which returns both the username and display name for one or more userids

7 Likes

Perfect thanks, I’ll close this topic.

2 Likes