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: 13.0.131
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