When a user signs up I need to add a row to another class (class B) with a reference pointer to this user and add a reference to the user class that points to the newly created row in class B.
Is there a way to get the Parse.User id in an beforeSave action?
If not what would be a way to achieve this with cloud code?