Click or drag to resize
ContactMembershipInfoProviderSetRelationship Method (MemberTypeEnum, BaseInfo, ContactInfo, Boolean)

Note: This API is now obsolete.

Adds specified relationship among specified contact, related object and object type.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use IContactRelationAssigner service instead.")]
public static void SetRelationship(
	MemberTypeEnum memberType,
	BaseInfo info,
	ContactInfo currentContact,
	bool mergeUsers
)

Parameters

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