WebCrmApiAuthenticate Method |
Verifies webCRM credentials.
The authentication is automatically expired in 20 minutes if there is no activity.
Namespace: dk.webCRM.ApiSync.WebServiceAssembly: dk.webCRM.ApiSync.WebService (in dk.webCRM.ApiSync.WebService.dll) Version: 2.0.0.5 (2.0.0.5)
Syntaxpublic ErrorStatus Authenticate(
string dbnCode,
string userName,
string password
)
Public Function Authenticate (
dbnCode As String,
userName As String,
password As String
) As ErrorStatus
public:
ErrorStatus^ Authenticate(
String^ dbnCode,
String^ userName,
String^ password
)
member Authenticate :
dbnCode : string *
userName : string *
password : string -> ErrorStatus
Parameters
- dbnCode
- Type: SystemString
Customer reference code. - userName
- Type: SystemString
Username. - password
- Type: SystemString
Password.
Return Value
Type:
ErrorStatusReturns an error code: 0 if OK, and an error message if not OK.
ExamplesWebCrmApiSoapClient proxy = new WebCrmApiSoapClient();
ErrorStatus errorStatus;
TicketHeader ticket = proxy.Authenticate("cm1111aaaaaa", "username", "password", out errorStatus);
See Also