| ActivityLogHelperGetContactIDByMembership Method  | 
            Gets contact ID from membership relations.
            
 
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 8.2.23
Syntaxpublic 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