Compartilhar via


MySiteProfileHandler class

Implementa a interface IProfileEventInterface .

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

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

Comentários

A interface IProfileEventInterface é usada para executar o código sempre que um perfil de usuário está prestes a ser excluído. O manipulador padrão de MySiteProfileHandler atribui o Meu Site do usuário excluído ao gerente da pessoa. Se você desejar que esse comportamento, você pode subclasse-lo.

Para obter mais informações sobre a interface IProfileEventInterface , consulte 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.

Ver também

Referência

MySiteProfileHandler members

Microsoft.Office.Server.UserProfiles namespace