Click or drag to resize
ActivityLogHelperGetContactIDByMembership Method
Gets contact ID from membership relations.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 9.0.0
Syntax
C#
public static int GetContactIDByMembership(
	int relatedId,
	int memberType,
	int siteId,
	string where
)

Parameters

relatedId
Type: SystemInt32
Related ID
memberType
Type: SystemInt32
Member type (user, subscriber, customer)
siteId
Type: SystemInt32
Site ID
where
Type: SystemString
Additional WHERE condition

Return Value

Type: Int32
See Also