Skip to main content
Version: 5.7.0

FindUserByExactUniversalId

Retrieves profile information for the partial Universal ID matches of the specified text.

Does not require the calling user to be a friend of the retrieved users.

ServiceOperation
friendFIND_PLAYER_BY_EXACT_UNIVERSAL_ID

Method Parameters

ParameterDescription
searchTextThe universalId to search for

Usage

http://localhost:3000
string searchText = "someUniversalId";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.FriendService.FindUserByExactUniversalId(searchText, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"matchedCount": 1,
"matches": [
{
"profileId": "111-222-333",
"profileName": "UserA",
"summaryFriendData": null,
"pictureUrl": null
}
]
}
}