Events when Saving/Deleting users in admin mode

Vote:
 
Hi! I have made a small plug-in for the SidSettingsArea. The purpose is to bind customer numbers to user accounts. Customer numbers are stored in the Item collection of the user's personalized data. 1. How do I access the events for the Save and Delete buttons? 2. How can I get user's PersonalizedData object when creating a new user? I use the id property of the querystring when editing an existing user. Is there a better solution?
#12312
Jul 04, 2005 11:58
Vote:
 
One solution to the first problem could be: ((Button)this.Parent.FindControl("ApplyButton")).Click += new System.EventHandler(this.Save); However this assumes the name ApplyButton won't change in future upgrades of EPiserver.
#14037
Jul 04, 2005 12:55
Vote:
 
If you implement the interface ISidSettings you will get the following methods where you can add your logic: LoadSettings(Sid sid, PersonalizedData data) SaveSettings(Sid sid, PersonalizedData data) We do not currently have any solution for the event that a user is deleted but I added this as suggestion #36776.
#14038
Jul 11, 2005 18:50
Vote:
 
Ps. You do not have to save the data for the sid or the personalized data as this will be done after all the ISidSettings plugins has been called. Ds.
#14039
Jul 11, 2005 18:51
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.