login function

Agent login function

Syntax

login( responseBack, username, password )

Parameters

Name Type Description
responseBack   Indicates which function to be called when a response is received.
username   The username should normally be the msisdn in addition to its country code i.e. +18881234567
password   The user password

Example

 var loginBack = function(r, xmlResponse) { ... // handle response };
 mc.login(loginBack, \"user1\", \"pass2\");

Source

SY_Mobiliser.js line 45.