Is it possible to update some user data inside some parse function?

As I read on the JavaScript SDK API reference, I didn’t see useMasterKey as a parameter, and I am not able to save the object without it…

If you want to use your masterKey in Cloud Code, then this should do the trick:

user.save(null,{useMasterKey:true});

See the documentation for using your masterKey in Cloud Code.

1 Like