I am allowing anonymous user create submissions, and creating a user programmatically based on these submissions. How do I associate this submission with the user I've just created?
UPDATE: I thought I could use db_update for this but I'd be interested to know if there is a more functional way.