Click or drag to resize
ActivityInfoProvider.GetContactsFirstActivity Method
Returns first contact's activity, may be restricted to specific activity type.

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 13.0.131
Syntax
C#
public static ActivityInfo GetContactsFirstActivity(
	int contactId,
	string activityType
)

Parameters

contactId
Type: System.Int32
Contact ID
activityType
Type: System.String
Activity type - optional

Return Value

Type: ActivityInfo
See Also