Click or drag to resize
ContactHelperGetSiteParentRecursive Method
Gets parent contact. If parent contact is merged then its parent contact is recursively found and returned.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static ContactInfo GetSiteParentRecursive(
	int parentContactId
)

Parameters

parentContactId
Type: SystemInt32
Parent contact to be found

Return Value

Type: ContactInfo
Returns parent contact which is not merged into another site contact
See Also