possible to let CreateUser function to not create a new session because it will override the current login user?

0 votes
  1. put App42API.GetLoggedInUser() and App42API.loggedInUser in update() function to check who is currently logged in
  2. play app and login as user "Apple" ,debug.log show that App42API.GetLoggedInUser() and App42API.loggedInUser display as "Apple"
  3. attempt to create a new user call "Banana" , success yay ... but somehow App42API.GetLoggedInUser() and App42API.loggedInUser show "Banana" instead of "Apple".
  4. heres the question : i'm already log in as apple ,why creating a new user banana cause App42API.GetLoggedInUser() and loggedInUser to show banana instead of apple?
  5. is there a way to prevent App42API.loggedInUser from getting overwrite after creating new user?
asked Jul 11, 2016 in Unity by sherilyn.ng (15 points)

1 Answer

0 votes
 
Best answer

Hi Sherilyn,

Greetings!!!!!!!!!!

There is no relation between App42API.loggedInUser and createUser. You can set a unique userName throughout the application using App42API.SetLoggedInUser() API. We provide createUser API for user Managment so if you want to set the same userName after success callback. You can call App42API.SetLoggedInUser() API once user creation is succeeded.now

We don't overwrite loggedInUser after creating user API.

Let me know if more queries are concern.

Thanks

Vishnu Garg

answered Jul 12, 2016 by Vishnu Garg (674 points)
selected Jul 13, 2016 by sherilyn.ng
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...