Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

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

💬 Ask a question or report a problem