Click or drag to resize
ContactHelperGetNewContact Method

Note: This API is now obsolete.

Creates and returns new anonymous contact.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use IContactCreator service instead.")]
public static ContactInfo GetNewContact(
	string namePrefix,
	bool anonymous,
	int siteID
)

Parameters

namePrefix
Type: SystemString
anonymous
Type: SystemBoolean
siteID
Type: SystemInt32

Return Value

Type: ContactInfo
Returns new ContactInfo
See Also