IProfileEventInterface IProfileEventInterface IProfileEventInterface Interface

Definition

Executes an action whenever a user profile is about to be deleted.

public interface class IProfileEventInterface
public interface IProfileEventInterface
Public Interface IProfileEventInterface
Derived

Remarks

The IProfileEventInterface interface is used to execute code whenever a user profile is about to be deleted. Implementing the IProfileEventInterface interface allows you to perform an action immediately before a profile is deleted. If you choose not have the profile deleted, you can return false from the PreProfileDeleted(ServerContext, UserProfile) method.

The default MySiteProfileHandler handler assigns the deleted user's My Site to that person's manager. If you want that behavior as well, you can subclass it.

Methods

PreProfileDeleted(UserProfile) PreProfileDeleted(UserProfile) PreProfileDeleted(UserProfile)
PreProfileDeleted(ServerContext, UserProfile) PreProfileDeleted(ServerContext, UserProfile) PreProfileDeleted(ServerContext, UserProfile)

Returns a Boolean value that specifies whether the earlier profile of a given user has been deleted.

Applies to