Login Method

This method is used to gain access to the AnywhereDirect Web Service. No other operations can be performed without calling this method first. If successful it provides a Reference that must be used in all other methods.

Arguments
  1. string Account
  2. string Name
  3. string Password
    This can either be provided as plain text or encoded as an MD5 Hash for security
Response
  1. DataSet ResponseDataSet

ResponseDataSet will contain a Status DataTable with a single row and the following columns:

Example

The following Web Service call:

Login("Acme", "Bob", "abc1")

could produce a DataSet with the following Status DataTable:

Code Text Reference
0 OK 18,23

or:

Code Text Reference
8 Invalid credentials