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.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 12.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.ContactManagementContactGroupMemberTypeEnum
Member type
addedHow
Type: CMS.ContactManagementMemberAddedHowEnum
Possible types of contact addition into contact group
See Also