CreateContact(String,String,String,String) Method
Contact first name
Contact last name
Phone number for the contact
Identifier of the site for the contact role to create.
Creates a Contact. This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function CreateContact( _
ByVal _firstName_ As String, _
ByVal _lastName_ As String, _
ByVal _phone_ As String, _
ByVal _siteIDNum_ As String _
) As ToolkitResult
public ToolkitResult CreateContact(
string _firstName_,
string _lastName_,
string _phone_,
string _siteIDNum_
)
Parameters
firstName
Contact first name
lastName
Contact last name
phone
Phone number for the contact
siteIDNum
Identifier of the site for the contact role to create.
Return Value
The following values are populated in the ToolkitResult object returned by the API method:
- Objid - The Objid of the Contact.
Remarks
A default contact role for the Site is automatically created if no role name is defined.
If you need to create duplicate contacts (same first name, last name, phone), you may use the AllowDuplicateContact property.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family
Reference
InterfacesToolkit Class
InterfacesToolkit Members
Overload List