IProfileEventInterface 接口

要删除用户配置文件时执行某项操作。

命名空间:  Microsoft.Office.Server.UserProfiles
程序集:  Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)

语法

声明
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Interface IProfileEventInterface
用法
Dim instance As IProfileEventInterface
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public interface IProfileEventInterface

备注

IProfileEventInterface接口用于将要删除的用户配置文件时执行代码。实现IProfileEventInterface接口,可以执行某项操作之前删除配置文件。如果您选择不拥有配置文件被删除,您可以从PreProfileDeleted方法返回false 。

默认的MySiteProfileHandler处理程序分配给此人的经理已删除的用户的我的网站。如果希望以及该行为,则可以创建子类它。

另请参阅

引用

IProfileEventInterface 成员

Microsoft.Office.Server.UserProfiles 命名空间