This function sets the CURLOPT_USERNAME option value to the string specified. See also the
HttpSetPassword and
HttpSetLoginOptions function topics.
Usage
CALL "HttpSetUsername" USING
user-name
GIVING
response-status.
Parameters
user-name
|
An alphanumeric item specifying the user name to use in authentication. 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.
|