Start a new topic

Get User Information from Users collection

Hello,


I am trying to retrieve specific user information other than the username and password. I am writing a test to verify that the newly created user in my Users collection has all the correct info from the input in my registration form. I create the user, then update the user so that the Users collection can have an email, first_name and last_name column. I can see the information within the Kinvey admin console but I don't know how to retrieve the email for the user (or the first name and last name). I can use user.getUsername() to get the username for the logged in user but is there a user.getEmail() or user.getFirstName() function. If not, how would I retrieve that information.


Thanks,


Justin


1 person has this question
Login or Signup to post a comment