ContactHelperCreateNewContact Method |
Note: This API is now obsolete.
Creates new contact for subscriber and its relation.
Namespace: CMS.ContactManagementAssembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 10.0.0
Syntax [ObsoleteAttribute("Never intended for public use. Create contact, set properties if relation needs to be set use ContactMembershipInfoProvider.SetRelationship.")]
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 - only for backwards compatibility, value is not used - relId
- Type: SystemInt32
ID for relation - memberType
- Type: CMS.ContactManagementMemberTypeEnum
Member type
Return Value
Type:
Int32See Also