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.