I would like to retrieve user´s password, but I always get null values, Any idea,please?
the code is:
public static boolean getUser( int userId) {
TAG = "UserService.getUser";
userId = 195655;
QBUsers.getUser(userId, new QBCallbackImpl() {
@Override
public void onComplete(Result result) {
if (result.isSuccess()) {
QBUserResult qbUserResult = (QBUserResult) result;
Log.d(TAG,"User: "+ qbUserResult.getUser().toString());
Log.d(TAG, "Password: "+qbUserResult.getUser().getPassword());
} else {
for (String s : result.getErrors()) {
Log.d(TAG, "createSession error: " + s);
}
}
}
});
// TODO Auto-generated method stub
return false;
}
it happens with all users, I can´t get password values. Do I need to do anything special?
Thanks for all your help.