Click or drag to resize
ContactHelperCreateNewContact Method
Creates new contact for subscriber and its relation.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static int CreateNewContact(
	string firstName,
	string lastName,
	string emailAddress,
	int siteId,
	int relId,
	MemberTypeEnum memberType
)

Parameters

firstName
Type: SystemString
Contact first name
lastName
Type: SystemString
Contact last name
emailAddress
Type: SystemString
Contact e-mail address
siteId
Type: SystemInt32
Site ID
relId
Type: SystemInt32
ID for relation
memberType
Type: CMS.OnlineMarketingMemberTypeEnum
Member type

Return Value

Type: Int32
See Also