API Questions on Kentico API.
Version 5.x > API > Kentico User extra actions View modes: 
User avatar
Member
Member
luke - 7/28/2011 1:31:35 AM
   
Kentico User extra actions
Is there an easy way to add custom code for when a user is deleted in the Kentico Admin?

User avatar
Member
Member
kentico_michal - 7/28/2011 3:11:18 AM
   
RE:Kentico User extra actions
Hello,

You can take advantage of CustomDataHandler class that allows you to execute custom action when some CMS even occurs. The events are applied to all data items that are stored to the database. It includes documents, user information or any other settings. They receive the data object of type DataClass that can be modified. In case of delete handlers, the class name and ID is provided. In your case, you could use for example OnAfterDelete handler.

For more information I would like to point you to the following article: Data handler


Best regards,
Michal Legen