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

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

Parameters

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

Return Value

Type: Int32
See Also