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

Deletes all the data in the database for all the groups and users withing the account. The documents are also deleted and the storage space is released.

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

Syntax

C#
public int DeleteAccount(
	int accountId,
	int currentGroupId
)
Visual Basic (Declaration)
Public Function DeleteAccount ( _
	accountId As Integer, _
	currentGroupId As Integer _
) As Integer
Visual C++
public:
int DeleteAccount(
	int accountId, 
	int currentGroupId
)

Parameters

accountId
Type: System..::.Int32
Id of a particular account to be deleted.
currentGroupId
Type: System..::.Int32
Id of the current group

Return Value

0 in case of success, -1 in case of an error.

See Also