sgrlogin
Logs in to the Web Service.
| Parameters: sgrLogin | Parameters: sgrLogin | Parameters: sgrLogin | Parameters: sgrLogin |
|---|---|---|---|
| user | string | Required | User name. |
| password | string | Required | User password. |
| domain | string | Required | Access domain. |
Note: If you do not have this data, you can request it by e-mail [email protected].
METHOD RETURN (sgrData):
ReturnDataset: If the parameters are correct, the object property will display:
| Field | Type | Description |
|---|---|---|
| dsUsername | string | User name |
| dtUltLogin | datetime | User's last access date |
| CdGroupCli | integer | Client group code |
ReturnKey: The access key is returned in the ReturnKey property, and remains valid throughout the session. This means that it can only be generated once in the current access, and used in all the methods used.
ReturnDescription: If there is an error when executing the method, the object's property will display:
| Error | Description |
|---|---|
| An error occurred while saving the login information! Login cannot be performed! Try again! | Check that the parameters have been entered correctly. If they are correct, you need to send an e-mail to [email protected] indicating the message and the parameters filled in. |
| Incorrect user/password or inactive user! | |
| Trial version expired! | Contact your account manager at Opentech and request an updated version. |