[This is preliminary documentation and is subject to change.]
Imports contacts from a CSV file into a particular address book.
Namespace:
OfficeClip.DBLayer.AccountAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public DataTable ImportAddressBookEntriesFromCsv( ArrayList csvUserList, int selectedOption, int addressbookId ) |
Visual Basic (Declaration) |
---|
Public Function ImportAddressBookEntriesFromCsv ( _ csvUserList As ArrayList, _ selectedOption As Integer, _ addressbookId As Integer _ ) As DataTable |
Visual C++ |
---|
public: DataTable^ ImportAddressBookEntriesFromCsv( ArrayList^ csvUserList, int selectedOption, int addressbookId ) |
Parameters
- csvUserList
- Type: System.Collections..::.ArrayList
ArrayList of OCUserInfo objects containing all the information loaded from the CSV file.
- selectedOption
- Type: System..::.Int32
Integer flag indicating what should be done when a member being imported is already present in the Address Book. 1 = Overwrite OfficeClip information with the file item imported. 2 = Do not import names which are already in OfficeClip. 3 = Allow duplicates to be merged with the OfficeClip information.
- addressbookId
- Type: System..::.Int32
The unique id of the address book
Return Value
DataTable consisting of name email Address and status of the result of individual import of each address book entry. The DataTable consists of the following columns.- name (System.String)Name of the Contact being imported.
- emailAddress (System.String)Email Address of the address book entry being imported.
- status (System.Int32) This flag indicates the result of individual import into the Address Book. 0 when Import was successful, -1 in case of an error.
Remarks
There is no password generated nor any email sent while importing a address book entry in the address book.