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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.SetOptionUserName
Sets the user name string for the transfer.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 2.5 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| curl | The CURL session handle. | $curl | |
| Value | The user name | "cs" | |
| 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" on success.
Description
Sets the user name string for the transfer.In order to specify the password to be used in conjunction with the user name use the CURL.SetOptionPassword option.
See also USERNAME option in CURL manual.
Examples
Set login credentials:
Set Variable [ $result ; Wert: MBS("CURL.SetOptionUserName"; $curl; Logins::Username) ]
Set Variable [ $result ; Wert: MBS("CURL.SetOptionPassword"; $curl; Logins::Password) ]
See also
- CURL.GetOptionUserName
- CURL.SetOptionFileTime
- CURL.SetOptionPreQuote
- CURL.SetOptionResolve
- CURL.SetOptionServiceName
- CURL.SetOptionSSLVersion
- CURL.SetOptionUseSSL
- CURL.SetOptionVerbose
- CURL.SetOptionWildCardMatch
- SendMail.SetSMTPUserName
Example Databases
- CURL/CURL LDAP Query
- CURL/Email/Email Client
- CURL/Email/IMAP Email List
- CURL/Email/IMAP Email
- CURL/WebServices/CURL FMS Admin API v18
- CURL/WebServices/Swiss Post Addresscheck V4-02-00
- CURL/WebServices/Swiss Post Addresscheck
Blog Entries
- URLs without UserName and Password please
- Email Script for FileMaker
- Upload email to Sent folder via IMAP
- Batch sending Emails in FileMaker via MBS Plugin
- Using NetVerify web service with FileMaker
- Tip of the day: FTP File Upload
- Swiss Post Webservice to verify addresses
- CURL Tutorial for Filemaker with MBS Plugin
FileMaker Magazin
Created 18th August 2014, last changed 27th July 2020
CURL.SetOptionUserAgent - CURL.SetOptionVerbose
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins