Profiledeletehandler:Stsadm 操作 (Office SharePoint Server)

操作名称:Profiledeletehandler

使管理员有机会在将要删除某个用户时(例如,当员工离开公司时)运行工作流。

运行此操作时,默认配置文件处理程序会将已删除用户的“我的网站”分配给该用户的经理。这样,经理将有时间从该用户的“我的网站”中恢复任何文档。

有关删除用户的配置文件的详细信息,请参阅 IProfileEventInterface 接口 (Microsoft.Office.Server.UserProfiles)(https://go.microsoft.com/fwlink/?linkid=110305&clcid=0x804) 和 MySiteProfileHandler 成员 (Microsoft.Office.Server.UserProfiles)(https://go.microsoft.com/fwlink/?linkid=110306&clcid=0x804)。

语法

stsadm -o profiledeletehandler

   -type <full assembly path>

参数

参数名

是否必需

说明

type

一个有效的程序集路径,例如 CustomAssembly.CustomProfileDeleteHandler, CustomAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

类型的程序集限定名称包含类型名称(包括其命名空间),后跟逗号,紧跟着是程序集的显示名称。

有关如何创建程序集路径的附加信息,请参阅 Type.GetType 方法(https://go.microsoft.com/fwlink/?linkid=110304&clcid=0x804)。