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

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 10.0.0
Syntax
C#
public static int GetContactIDByMembership(
	int relatedObjectId,
	MemberTypeEnum memberType
)

Parameters

relatedObjectId
Type: SystemInt32
Related ID
memberType
Type: CMS.ContactManagementMemberTypeEnum
Member type (user, subscriber, customer)

Return Value

Type: Int32
See Also