[This is preliminary documentation and is subject to change.]

Gets a list of all the email folders for currently logged in user.

Namespace:  OfficeClip.DBLayer.Desktop
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public DataTable GetEmailFolderNames(
	int userId
)
Visual Basic (Declaration)
Public Function GetEmailFolderNames ( _
	userId As Integer _
) As DataTable
Visual C++
public:
DataTable^ GetEmailFolderNames(
	int userId
)

Parameters

userId
Type: System..::.Int32

Return Value

DataTable containing the following columns.
  • emailFolderId (System.Int32)Id of the email folder.
  • EmailFolderName (Syste.String)Name of the email folder.

Remarks

This function returns an extra row with value "Put In Folder" with id = 0 as the first row. If this row is not required, run the commad DataRow.Delete() and DataTable.AcceptChanges() before binding to a control.

See Also