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

Gets the space related to a particular user. If the user space information is not present, then it is created using default value specified in web.config.

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

Syntax

C#
public ReturnStatus GetUserSpace(
	int userId,
	ref double usedSpace
)
Visual Basic (Declaration)
Public Function GetUserSpace ( _
	userId As Integer, _
	ByRef usedSpace As Double _
) As ReturnStatus
Visual C++
public:
ReturnStatus GetUserSpace(
	int userId, 
	double% usedSpace
)

Parameters

userId
Type: System..::.Int32
Id of the user whose space information has to be retrieved.
usedSpace
Type: System..::.Double%
Total used space in MB

Return Value

returns true if successful, false if no record exists

See Also