Click or drag to resize
ContactGroupMemberInfoProviderDeleteContactGroupMembers Method
Deletes relationships between specified contact groups and related objects (contact, account) defined in where condition.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 13.0.131
Syntax
C#
public static void DeleteContactGroupMembers(
	string where,
	int contactGroupID,
	bool deletingAccount,
	bool removeAccount
)

Parameters

where
Type: SystemString
Where condition
contactGroupID
Type: SystemInt32
Current groupID. Used only when deleting accounts and removing its contacts.
deletingAccount
Type: SystemBoolean
Indicates if deleting accounts. If TRUE then also contacts will be removed as well.
removeAccount
Type: SystemBoolean
If TRUE then account will be deleted, not only its contacts. Applicable only when deleting accounts.
See Also