HttpSetLoginOptions

This function sets the CURLOPT_USERNAME option value to the string specified. See also the HttpSetUsername and HttpSetPassword function topics.

Usage

CALL "HttpSetLoginOptions" USING
         login-options
         GIVING
         response-status.

Parameters

login-options An alphanumeric item specifying the login options to use in authentication. This can be used to specify protocol specific options such as the preferred authentication mechanism. Trailing spaces are removed from the value and then the value is zero terminated.
response-status A status code that, if nonzero, indicates the request encountered an error. In this case, the string representation of the error may be obtained by calling NetGetError.