Xbox Test Accounts always return same account id

Swartz, Victoria 21 Reputation points
2021-04-09T21:58:17.763+00:00

I am trying to fetch the account Id for an xbox one user test account in the Integration environment, but every time it returns the same value of 2.

The code I am using to grab it is:

eastl::wstring userXuid = firstPartyUser->XboxUserId->Data();

Are all test accounts given the same id? Or am I doing something wrong with the call?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,281 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Swartz, Victoria 21 Reputation points
    2021-04-12T21:30:56.147+00:00

    Turns out the issue has with how the string was converted after returning the value, not the call itself

    0 comments No comments