Click or drag to resize
ActivityInfoProviderGetContactsFirstActivity 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: SystemInt32
Contact ID
activityType
Type: SystemString
Activity type - optional

Return Value

Type: ActivityInfo
See Also