Home > Enterprise >  How can I get user-Id in parse cloud code function?
How can I get user-Id in parse cloud code function?

Time:11-10

I'm calling a parse cloud code function from android app, and I need userId (objectId) to read some data about him.

The question is, how can I get the userId?

I know how to do it with params, but it's already in the request (image below).

userId_img

CodePudding user response:

You can access the current logged in user id via request.user.id

  • Related