ModuleCommandsOnlineMarketingGetContactGroupMembers Method |
Gets all (or top N) contacts in a given contact group for newsletters.
If bounced e-mail monitoring is enabled, only contacts that have less bounces then bounce limit are returned.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax public static DataSet OnlineMarketingGetContactGroupMembers(
int contactGroupId,
int topN,
int lastMemberId,
bool monitoringEnabled,
int bounceLimit,
int newsletterId,
string columns
)
Parameters
- contactGroupId
- Type: SystemInt32
Contact group ID - topN
- Type: SystemInt32
Top N - lastMemberId
- Type: SystemInt32
Contacts with higher IDs will be returned - monitoringEnabled
- Type: SystemBoolean
Indicates if bounced e-mail monitoring is enabled - bounceLimit
- Type: SystemInt32
Bounce e-mail limit - newsletterId
- Type: SystemInt32
Newsletter ID - it allows to filter-out unsubscribed contact group members; optional - columns
- Type: SystemString
Allows to specify columns to be returned
Return Value
Type:
DataSetSee Also