ODBC Driver for Act! CRM

Build 26.0.9770

AddOrRemoveGroupsToContact

Associate or dissociate one or more groups to a contact.

Stored Procedures Specific Information

Process of adding or removing groups to contact

This stored procedure associates or dissociates one or more groups to a contact. The required parameter ContactId accepts a single value. The required parameter GroupIds accepts a comma-separated list of group Ids. The required parameter Type accepts a single value: 'add' or 'remove'. For example:

For Adding Groups To Contact

EXEC AddOrRemoveGroupsToContact ContactId = '75e724dc-8f62-4070-bb87-38787eed09e3', GroupIds = '49006ae2-0f89-4e92-9302-2472de8e19f1', Type = 'add'

For Removing Groups From Contact

EXEC AddOrRemoveGroupsToContact ContactId = '75e724dc-8f62-4070-bb87-38787eed09e3', GroupIds = '49006ae2-0f89-4e92-9302-2472de8e19f1', Type = 'remove'

Input

Name Type Description
ContactId String The unique identifier (id) for a given contact.
GroupIds String A comma-separated list of group ids to associate or dissociate.
Type String Whether to add or remove the groups. Set to 'add' or 'remove'.

The allowed values are add, remove.

Result Set Columns

Name Type Description
Status String Stored Procedure Execution Status

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770