Click or drag to resize
WebCrmApiAuthenticate Method
Verifies webCRM credentials. The authentication is automatically expired in 20 minutes if there is no activity.

Namespace: dk.webCRM.ApiSync.WebService
Assembly: dk.webCRM.ApiSync.WebService (in dk.webCRM.ApiSync.WebService.dll) Version: 2.0.0.5 (2.0.0.5)
Syntax
public ErrorStatus Authenticate(
	string dbnCode,
	string userName,
	string password
)

Parameters

dbnCode
Type: SystemString
Customer reference code.
userName
Type: SystemString
Username.
password
Type: SystemString
Password.

Return Value

Type: ErrorStatus
Returns an error code: 0 if OK, and an error message if not OK.
Examples
WebCrmApiSoapClient proxy = new WebCrmApiSoapClient();
ErrorStatus errorStatus;
TicketHeader ticket = proxy.Authenticate("cm1111aaaaaa", "username", "password", out errorStatus);
See Also