Choose your implementation method:
This function is part of the Connect Interface.
Fetch an external account ID, in string form, that maps to a given Product User ID.
Return Value
An EOS_EResult that indicates the external account ID was copied into the OutBuffer.
EOS_Success if the information is available and passed out in OutUserInfo.
EOS_InvalidParameters if you pass a null pointer for the out parameter.
EOS_NotFound if the mapping doesn't exist or hasn't been queried yet.
EOS_LimitExceeded if the OutBuffer is not large enough to receive the external account ID. InOutBufferLength contains the required minimum length to perform the operation successfully.
Parameters
EOS_Connect_GetProductUserIdMapping
Parameter Type And Name
|
Usage Information
|
EOS_HConnect Handle
|
|
const EOS_Connect_GetProductUserIdMappingOptions* Options
|
structure containing the local user and target Product User ID.
|
char* OutBuffer
|
The buffer into which the external account ID data should be written. The buffer must be long enough to hold a string of EOS_CONNECT_EXTERNAL_ACCOUNT_ID_MAX_LENGTH.
|
int32_t* InOutBufferLength
|
The size of the OutBuffer in characters. The input buffer should include enough space to be null-terminated. When the function returns, this parameter will be filled with the length of the string copied into OutBuffer.
|
This function is part of the Connect Interface.
Fetch an external account ID, in string form, that maps to a given Product User ID.
The input buffer should include enough space to be null-terminated.
When the function returns, this parameter will be filled with the length of the string copied into OutBuffer.
{Result.Success} if the information is available and passed out in OutUserInfo.
{Result.InvalidParameters} if you pass a null pointer for the out parameter.
{Result.NotFound} if the mapping doesn't exist or hasn't been queried yet.
{Result.LimitExceeded} if the OutBuffer is not large enough to receive the external account ID. InOutBufferLength contains the required minimum length to perform the operation successfully.
Return Value
An {Result} that indicates the external account ID was copied into the OutBuffer.
Parameters
Connect.ConnectInterface.GetProductUserIdMapping
Parameter Type And Name
|
Usage Information
|
GetProductUserIdMappingOptions options
|
structure containing the local user and target Product User ID.
|
string outBuffer
|
The buffer into which the external account ID data should be written. The buffer must be long enough to hold a string of EOS_CONNECT_EXTERNAL_ACCOUNT_ID_MAX_LENGTH.
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no