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

Gets all the details of the most recent timesheet created for the a particular user for a particular group.

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

Syntax

C#
public TimesheetInfo GetLastTimesheetInfo(
	int userId,
	int groupId
)
Visual Basic (Declaration)
Public Function GetLastTimesheetInfo ( _
	userId As Integer, _
	groupId As Integer _
) As TimesheetInfo
Visual C++
public:
TimesheetInfo^ GetLastTimesheetInfo(
	int userId, 
	int groupId
)

Parameters

userId
Type: System..::.Int32
Id of a particular user. Please note that the user should belong to the group whose Id is passed as argument.
groupId
Type: System..::.Int32
Id of a particular group.

Return Value

Instance of the TimesheetInfo object containing all the information related to the most recent timesheet created for the currently logged in user for the selected group. TimesheetInfo

See Also