Click or drag to resize
ModuleCommandsOnlineMarketingCreateNewContact Method
Creates new contact and assignes given member.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static int OnlineMarketingCreateNewContact(
	string firstName,
	string lastName,
	string email,
	int siteId,
	int relatedId,
	int type
)

Parameters

firstName
Type: SystemString
Contact first name
lastName
Type: SystemString
Contact last name
email
Type: SystemString
E-mail address
siteId
Type: SystemInt32
Site ID
relatedId
Type: SystemInt32
Related ID
type
Type: SystemInt32
Type of member (user, subscriber, customer)

Return Value

Type: Int32
See Also