Closed iman2420 closed 7 years ago
you can update only current user or you need login in android app with your app administrator's credentials (account owner) and update other user
@tatanka987 I know it. How to do it? show me an example.
for example, I created QB account with login "tatankaxxxxxxx@xxxxxxx.com" and password "****". Then I call
QBUsers.signIn(new QBUser("tatankaxxxxxxx@xxxxxxx.com", "************")).perform();
then I prepared user for update
QBUser userForUpdate = new QBUser();
userForUpdate.setId(6655786);
userForUpdate.setFullName("Name after Update");
Then I called next code for update needed user:
QBUsers.updateUser(userForUpdate).perform();
I want to update my profile from dashboard by Android code.
I try to updateUser:
but i got this error in updateUser method: