MySiteProfileHandler class

Implements the IProfileEventInterface interface.

Inheritance hierarchy


Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)


<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class MySiteProfileHandler _
    Implements IProfileEventInterface
Dim instance As MySiteProfileHandler
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class MySiteProfileHandler : IProfileEventInterface


The IProfileEventInterface interface is used to execute code whenever a user profile is about to be deleted. The default MySiteProfileHandler handler assigns the deleted user's My Site to that person's manager. If you want that behavior, you can subclass it.

For more information about the IProfileEventInterface interface, see IProfileEventInterface.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also


MySiteProfileHandler members

Microsoft.Office.Server.UserProfiles namespace