Click or drag to resize
ContactGroupMemberInfoProviderSetContactGroupMemberInfo Method (Int32, Int32, ContactGroupMemberTypeEnum, MemberAddedHowEnum)
Sets relationship among specified contact group and related object of specific type.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static void SetContactGroupMemberInfo(
	int groupId,
	int relatedObjectId,
	ContactGroupMemberTypeEnum memberType,
	MemberAddedHowEnum addedHow
)

Parameters

groupId
Type: SystemInt32
Contact group ID
relatedObjectId
Type: SystemInt32
Related object ID
memberType
Type: CMS.OnlineMarketingContactGroupMemberTypeEnum
Member type
addedHow
Type: CMS.OnlineMarketingMemberAddedHowEnum
Possible types of contact addition into contact group
See Also