Motorola CA50 Developer & User Manual page 315

Table of Contents

Advertisement

AuthenticateUserPassword
This function attempts to authenticate a CA50 device user and password.
int AuthenticateUserPassword(string sStoreNumber, string sUser, string sPassword, string ipAddr, ref
AuthenticateResponse AuthResp, ref UCAWebServiceStatus WSStatus)
Parameters
sStoreNumber
User store number.
sUser
User login ID.
sPassword
User password.
ipAddr
IP address of source machine (optional - used for logging).
Pass "" when address logging is not required.
AuthResp
Result of authentication attempt. (See
WSStatus
UCAWebServiceStatus class describes the status of the call
Return Values
Returns a value of 1 when successful. If successful, AuthResp is populated with the result of the authentication
attempt. If the return value is 0, check WSStatus for the error code and description.
Remarks
Any errors are logged to the NT Event log.
CA50 Device User Authentication Process on page
UCA Server Optional APIs 11 - 13
11-5.)

Advertisement

Table of Contents
loading

Table of Contents