Share via


OrganizationProfileManager.CreateOrganizationProfile method

NOTE: This API is now obsolete.

Creates an organization profile with the specified ProfileSubtype and the specified ProfileBase.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is no longer supported.")> _
Public Function CreateOrganizationProfile ( _
    subtype As ProfileSubtype, _
    parentProfile As ProfileBase _
) As OrganizationProfile
'Usage
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
)

Parameters

Return value

Type: Microsoft.Office.Server.UserProfiles.OrganizationProfile

Remarks

Only users with user profile administrative permissions are allowed to create organization profiles.

See also

Reference

OrganizationProfileManager class

OrganizationProfileManager members

Microsoft.Office.Server.UserProfiles namespace