Click or drag to resize
ITimecardApiLogin Method
When using cookie authentication this method should be called before calling any other API method. AMG XML-RPC API uses cookie based authentication, so all cookies returned by this method's response should be kept and sent with each request.

Namespace: AMG.API
Assembly: AMG.API (in AMG.API.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
void Login(
	string userName,
	string password
)

Parameters

userName
Type: SystemString
User login name registered in the system.
password
Type: SystemString
Password of the user account.
See Also