xref: /curl/docs/cmdline-opts/sasl-authzid.md (revision 2494b8dd)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: sasl-authzid
5Arg: <identity>
6Help: Identity for SASL PLAIN authentication
7Added: 7.66.0
8Category: auth
9Multi: single
10See-also:
11  - login-options
12Example:
13  - --sasl-authzid zid imap://example.com/
14---
15
16# `--sasl-authzid`
17
18Use this authorization identity (**authzid**), during SASL PLAIN
19authentication, in addition to the authentication identity (**authcid**) as
20specified by --user.
21
22If the option is not specified, the server derives the **authzid** from the
23**authcid**, but if specified, and depending on the server implementation, it
24may be used to access another user's inbox, that the user has been granted
25access to, or a shared mailbox for example.
26