This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

User BeforeUpdate returning the already updated user data

So, as the title says, on the Apis.Get<Users>().Events.BeforeUpdate event handler I get the already updated user data.

I'm changing the user's private email address and I'd like to get the email before and after the user was update in order to check if the email was update or some other field was updated, but the modified email is already in the BeforeUpdate handler's user parameter.

Is this bugged or why is it not returning the user before it was updated?

Parents
  • Before simply is before its committed to the DB, its already altered just not saved.  After would be after commit.  In your before handler, to compare, do a Apis.Get<IUsers>().Get(...)  to compare whats currently in the DB to whats about to be committed.

Reply Children
No Data