Skip to main content

sgrlogin

Logs in to the Web Service.

SoapAction

Parameters: sgrLoginParameters: sgrLoginParameters: sgrLoginParameters: sgrLogin
userstringRequiredUser name.
passwordstringRequiredUser password.
domainstringRequiredAccess 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:

FieldTypeDescription
dsUsernamestringUser name
dtUltLogindatetimeUser's last access date
CdGroupCliintegerClient 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:

ErrorDescription
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.