Share via


OrganizationProfile.GetAncestors method

NOTE: This API is now obsolete.

Gets every OrganizationProfile object in the management chain of this OrganizationProfile.

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 GetAncestors As OrganizationProfile()
'Usage
Dim instance As OrganizationProfile
Dim returnValue As OrganizationProfile()

returnValue = instance.GetAncestors()
[ObsoleteAttribute("This class is no longer supported.")]
public OrganizationProfile[] GetAncestors()

Return value

Type: []
OrganizationProfile .

See also

Reference

OrganizationProfile class

OrganizationProfile members

Microsoft.Office.Server.UserProfiles namespace