flohei
flohei

Reputation: 5308

Parse.com: Default parameters to identify user?

When calling one of my own Cloud Code functions, is there a parameter added by default, that represents the calling user or do I just have to add that myself? I wasn't able to find anything on this in the documentation.

Thanks!

Upvotes: 1

Views: 19

Answers (1)

Wain
Wain

Reputation: 119031

The logged in user who made the request to your cloud code is in request.user, assuming that you're using one of the supplied SDKs or that you set the appropriate details when you use the RESTful interface.

Upvotes: 2

Related Questions