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

Creates a new folder for a particular group/user.

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

Syntax

C#
public int CreateNewFolder(
	int userId,
	int groupId,
	int parentFolderId,
	string folderName
)
Visual Basic (Declaration)
Public Function CreateNewFolder ( _
	userId As Integer, _
	groupId As Integer, _
	parentFolderId As Integer, _
	folderName As String _
) As Integer
Visual C++
public:
int CreateNewFolder(
	int userId, 
	int groupId, 
	int parentFolderId, 
	String^ folderName
)

Parameters

userId
Type: System..::.Int32
If of the user creating the new folder.
groupId
Type: System..::.Int32
Id of the group for which the new folder has to be created.
parentFolderId
Type: System..::.Int32
The Parent folder id below which the new folder is created.
folderName
Type: System..::.String
The name of the new folder.

Return Value

The folder id of the new folder, -2 if the folder is already present, -1 any other error

See Also