Share via


MySiteProfileHandler - Classe

Implémente l'interface IProfileEventInterface .

Hiérarchie d’héritage

System.Object
  Microsoft.Office.Server.UserProfiles.MySiteProfileHandler

Espace de noms :  Microsoft.Office.Server.UserProfiles
Assembly :  Microsoft.Office.Server.UserProfiles (dans Microsoft.Office.Server.UserProfiles.dll)

Syntaxe

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

Remarques

L'interface IProfileEventInterface est utilisé pour exécuter le code chaque fois qu'un profil utilisateur est sur le point d'être supprimée. Le Gestionnaire de MySiteProfileHandler par défaut attribue Mon Site l'utilisateur supprimé à responsable son. Si vous souhaitez que ce comportement, vous pouvez créer une sous-classe il.

Pour plus d'informations sur l'interface IProfileEventInterface , reportez-vous à la section IProfileEventInterface.

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

MySiteProfileHandler - Membres

Microsoft.Office.Server.UserProfiles - Espace de noms