IOnlineUser::QueryUserIdMapping

Contacts server to obtain a user id from an arbitrary user-entered name string, eg. display name

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineUserInterface.h

Include

#include "Interfaces/OnlineUserInterface.h"

Syntax

bool QueryUserIdMapping
(
    const FUniqueNetId & UserId,
    const FString & DisplayNameOrEmail,
    const FOnQueryUserMappingComplete & Delegate
)

Remarks

Contacts server to obtain a user id from an arbitrary user-entered name string, eg. display name

Returns

true if the operation was started successfully

Parameters

Parameter

Description

UserId

id of the user that is requesting the name string lookup

DisplayNameOrEmail

a string of a display name or email to attempt to map to a user id

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss