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.SetOptionSASLAuthZID
Sets the authorisation identity (identity to act as).
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
CURL
|
9.4 |
✅ Yes |
✅ Yes |
✅ Yes |
✅ Yes |
✅ Yes |
MBS( "CURL.SetOptionSASLAuthZID"; curl; Value )
More
MBS(
"CURL.SetOptionSASLAuthZID"; /* Sets the authorisation identity (identity to act as). */
$curl; /* The CURL session handle. */
$Value) /* The new authorisation identity. */
Less
Parameters
Parameter |
Description |
Example |
curl |
The CURL session handle. |
$curl |
Value |
The new authorisation identity. |
|
Result
Returns OK or error.
Description
Sets the authorisation identity (identity to act as).
Pass a text as parameter, which should be pointing to the authorisation identity (authzid) for the transfer. Only applicable to the PLAIN SASL authentication mechanism where it is optional.
When not specified only the authentication identity (authcid) as specified by the username will be sent to the server, along with the password. The server will derive a authzid from the authcid when not provided, which it will then uses internally.
When the authzid is specified, the use of which is server dependent, it can be used to access another user's inbox, that the user has been granted access to, or a shared mailbox for example.
See also SASL_AUTHZID option in CURL manual.
See also
Release notes
Blog Entries
Created 11st September 2019, last changed 11st September 2019
CURL.SetOptionResumeFrom
-
CURL.SetOptionSASLIR