New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

How can I handle the profile updated event?

Return to previous page

  • 1/30/2017
  • 2146 Views

Question:

Artur Leite 8 years ago

So, I want to handle the profile updated event, in order to synchronize the custom profile properties of each user to a different database. The problem is that I can't catch this event. I'm able to successfully catch the UserUpdated event (and synchronize everything) but I can't catch the ProfileUpdated event.

I'm using the following code to catch the two events:

void IUserEventHandlers.UserUpdated(object sender, UpdateUserEventArgs args)
{
//I reach here
//do something..
}

void IProfileEventHandlers.ProfileUpdated(object sender, ProfileEventArgs args)
{
//I NEVER reach here
//do something..
}

What am I missing? Is the ProfileUpdated event really the event that I want to catch?

Thanks guys.

Sign In to Participate
Or register to become a member