ContactMembershipInfoProviderSetRelationship Method (Int32, MemberTypeEnum, Int32, Int32, Boolean) |
Adds specified relationship among specified contact, related object and object type.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax public static void SetRelationship(
int relatedId,
MemberTypeEnum memberType,
int originalContactId,
int activeContactId,
bool mergeUsers
)
Parameters
- relatedId
- Type: SystemInt32
ID of related object - memberType
- Type: CMS.OnlineMarketingMemberTypeEnum
Type of object - originalContactId
- Type: SystemInt32
Contact ID - activeContactId
- Type: SystemInt32
Contact ID - mergeUsers
- Type: SystemBoolean
Indicates if user contacts should be merged
See Also