Click or drag to resize
ContactGroupMemberInfoProviderSetContactGroupMemberInfo Method (Int32, Int32, ContactGroupMemberTypeEnum, MemberAddedHowEnum)

Note: This API is now obsolete.

Sets relationship among specified contact group and related object of specific type.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IContactGroupMemberInfoProvider.Add(int, int, ContactGroupMemberTypeEnum, MemberAddedHowEnum) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - ContactGroupMemberInfo.Provider.")]
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