Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

CURL.SetOptionTLSAuthUsername

Sets the TSL authentication user name.

Component Version macOS Windows Linux Server iOS SDK
CURL 3.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionTLSAuthUsername"; curl; Username { ; Encoding } )   More

Parameters

Parameter Description Example Flags
curl The CURL session handle. $curl
Username The user name. $Username
Encoding The text encoding for text parameter.
Default is UTF-8.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
"UTF8" Optional

Result

Returns OK or error.

Description

Sets the TSL authentication user name.
Please also set OptionTLSAuthType.

See also TLSAUTH_USERNAME option in CURL manual.

See also

Created 18th August 2014, last changed 5th July 2015


CURL.SetOptionTLSAuthType - CURL.SetOptionTelnetOptions

💬 Ask a question or report a problem