The credentials method is called to check the username and password of a user. Internally,
it creates session variables and a web browser cookie to mark the session as active.
The session expiration is retrieved from the INI file located in /usr/local/cyware/ini. The
INI filename is derived from the CGI binary being used. For example, if your CGI binary is called
cyweb.cgi the corresponding log filename will be cyweb.cgi.ini.
| Argument |
Type |
Description |
| login |
String |
The user's login |
| password |
String |
The user's password |
| Return Value |
Type |
Description |
| Yes |
JSON string |
A formatted JSON string containing all relevant information regarding the user |