EOS_Connect_CopyProductUserInfo

EOS API reference page for EOS_Connect_CopyProductUserInfo

2 mins to read

This function is part of the Connect Interface.

Remarks

Fetch information about a Product User, using the external account that they most recently logged in with as the reference. On a successful call, the caller must release the returned structure using the EOS_Connect_ExternalAccountInfo_Release API.

Return Value

  • An EOS_EResult that indicates the external account data was copied into the OutExternalAccountInfo.

  • EOS_Success if the information is available and passed out in OutExternalAccountInfo.

  • EOS_InvalidParameters if you pass a null pointer for the out parameter.

  • EOS_NotFound if the account data doesn't exist or hasn't been queried yet.

See Also

EOS_Connect_ExternalAccountInfo_Release

Parameters

EOS_Connect_CopyProductUserInfo

Parameter Type And NameUsage Information
EOS_HConnect Handle
const EOS_Connect_CopyProductUserInfoOptions* OptionsStructure containing the target external account ID.
EOS_Connect_ExternalAccountInfo** OutExternalAccountInfoThe external account info data last logged in for the user.

If successful, this function provides data to the caller through an output parameter. Once you are finished with the data, you must release it by making the appropriate call into the EOS SDK.