Click or drag to resize
OnlineMarketingTransformationFunctionsDidActivities Method
Returns true if the contact did any/all of the specified activities.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static bool DidActivities(
	Object contact,
	string activityTypes,
	int lastXDays,
	bool allActivities
)

Parameters

contact
Type: SystemObject
Contact the activities of which should be checked
activityTypes
Type: SystemString
Name of the activity(ies) to check separated with semicolon
lastXDays
Type: SystemInt32
Constraint for last X days (if zero or negative value is given, no constraint is applied)
allActivities
Type: SystemBoolean
If true, all specified types has to be found for the method to return true. If false, at least one of any specified types is sufficient to return true for the method.

Return Value

Type: Boolean
See Also