OrganizationProfileManager.CreateOrganizationProfile 方法
请注意:此 API 现在已过时。
创建具有指定的ProfileSubtype和ProfileBase指定的的组织配置文件。
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
<ObsoleteAttribute("This class is no longer supported.")> _
Public Function CreateOrganizationProfile ( _
subtype As ProfileSubtype, _
parentProfile As ProfileBase _
) As OrganizationProfile
用法
Dim instance As OrganizationProfileManager
Dim subtype As ProfileSubtype
Dim parentProfile As ProfileBase
Dim returnValue As OrganizationProfile
returnValue = instance.CreateOrganizationProfile(subtype, _
parentProfile)
[ObsoleteAttribute("This class is no longer supported.")]
public OrganizationProfile CreateOrganizationProfile(
ProfileSubtype subtype,
ProfileBase parentProfile
)
参数
- parentProfile
类型:Microsoft.Office.Server.UserProfiles.ProfileBase
返回值
类型:Microsoft.Office.Server.UserProfiles.OrganizationProfile
备注
只有具有管理权限的用户配置文件的用户可以创建组织模板。