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

Sets the user payroll information

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

Syntax

C#
public int SetUserPayrollInfo(
	int createdUserId,
	int userId,
	UserPayrollInfo upi
)
Visual Basic (Declaration)
Public Function SetUserPayrollInfo ( _
	createdUserId As Integer, _
	userId As Integer, _
	upi As UserPayrollInfo _
) As Integer
Visual C++
public:
int SetUserPayrollInfo(
	int createdUserId, 
	int userId, 
	UserPayrollInfo^ upi
)

Parameters

createdUserId
Type: System..::.Int32
the unique id of the user who created the payroll information
userId
Type: System..::.Int32
The current user id
upi
Type: OfficeClip.BusinessLayer.Account..::.UserPayrollInfo
The user payroll information object

Return Value

0 if successful, -1 if error

See Also