ContactMembershipInfoProviderGetContactIDByMembership Method |
Gets contact ID from membership relations.
Namespace: CMS.ContactManagementAssembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 11.0.0
Syntax 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:
Int32See Also