Due to the project requirement, we want to trace the user profile property changes (made through mysite) whenever they do.
Is it a good idea to insert a javascript (through a delegation control) and capture the page "beforeUnload" event. The "beforeUnload" function will call a "generic handler" with a current user login id and in which we can actually trace the profile changes using the class "UserProfileChangeQuery".
or is there an event to override like itemupdating?
or what would be the simplest method?
also does the class "UserProfileChangeQuery" return a updated information or the old data?
