Profiledeletehandler: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: February 14, 2008

Applies To: Office SharePoint Server 2007


Topic Last Modified: 2008-02-11

Gives an administrator a chance to run a workflow when a user is about to be deleted, for example, when an employee leaves a company.

When this operation is run, the default profile handler assigns the deleted user's My Site to that person's manager. This will give the manager time to recover any documents from the user's My Site.

For more information about deleting a user's profile, see EventInterface ( and MySiteProfileHandler (

stsadm -o profiledeletehandler

   -type <full assembly path>


Parameter name





A valid assembly path, such as CustomAssembly.CustomProfileDeleteHandler, CustomAssembly, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089


An assembly-qualified name of a type consists of the type name, including its namespace, followed by a comma, followed by the display name of the assembly.

For additional information about how to create an assembly path, see the GetType method (