Click or drag to resize
ContactMembershipInfoProviderSetRelationship Method (MemberTypeEnum, BaseInfo, ContactInfo, Boolean)
Adds specified relationship among specified contact, related object and object type.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
public static void SetRelationship(
	MemberTypeEnum memberType,
	BaseInfo info,
	ContactInfo currentContact,
	bool mergeUsers
)

Parameters

memberType
Type: CMS.OnlineMarketingMemberTypeEnum
Type of object
info
Type: CMS.DataEngineBaseInfo
Base info of related object
currentContact
Type: CMS.OnlineMarketingContactInfo
Contact info
mergeUsers
Type: SystemBoolean
Indicates if users should be merged
See Also