Hello,
I have registered a user and now i use the LoginWithEmailAddress() to sign in. My question is how to manipulate the data of InfoResultPayload and get access further down to AccountInfo.
I printed the result Object in my Console and there is nowhere the value of InfoResultPayload that says in the documentation.
//MY EXAMPLE function DoExampleLoginWithEmailAddress() { PlayFab.settings.titleId = "A7ED"; var loginRequest = { TitleId: PlayFab.settings.titleId, Email: "something@someemail.com", Password: "asdafs" }; PlayFabClientSDK.LoginWithEmailAddress(loginRequest, LoginCallback ); } // CALLBACK FUNCTION FOR EMAIL VALIDATION var LoginCallback = function (result, error) { if (result !== null) { let obj = result["data"].PlayFabId; document.getElementById("resultOutput").innerHTML = "You're now logged in as: "+ obj; } else if (error !== null) { document.getElementById("resultOutput").innerHTML = "Something went wrong with your login effort.\n" + "Here's some debug information:\n" + PlayFab.GenerateErrorReport(error); } }