Click or drag to resize
ContactMembershipInfoProviderGetMembershipInfo Method (Int32, Int32, MemberTypeEnum)
Returns relationship among specified contact, related object and object type.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 12.0.0
Syntax
C#
public static ContactMembershipInfo GetMembershipInfo(
	int contactId,
	int relatedObjectId,
	MemberTypeEnum memberType
)

Parameters

contactId
Type: SystemInt32
Contact ID
relatedObjectId
Type: SystemInt32
Related object ID
memberType
Type: CMS.ContactManagementMemberTypeEnum
Member type

Return Value

Type: ContactMembershipInfo
See Also