ContactGroupMemberInfoProvider SetContactGroupMembersInfo Method (Int32, List String , ContactGroupMemberTypeEnum, MemberAddedHowEnum)Kentico 8.0 API Reference
Sets relationship among specified contact group and related objects of specific type.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

groupId
Type: OnlineSystem Int32
Contact group ID
relatedObjectIds
Type: OnlineSystem.Collections.Generic List OnlineString 
List of strings with related object IDs
memberType
Type: CMS.OnlineMarketing ContactGroupMemberTypeEnum
Member type
addedHow
Type: CMS.OnlineMarketing MemberAddedHowEnum
Possible types of contact addition into contact group
See Also