MySiteProfileHandler Class
Implements the IProfileEventInterface interface.
Inheritance Hierarchy
System.Object
Microsoft.Office.Server.UserProfiles.MySiteProfileHandler
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class MySiteProfileHandler _
Implements IProfileEventInterface
'Usage
Dim instance As MySiteProfileHandler
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class MySiteProfileHandler : IProfileEventInterface
Remarks
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.