1SASL_USER_EXISTS(3) Cyrus SASL SASL_USER_EXISTS(3)
2
3
4
6 sasl_user_exists - Cyrus SASL documentation
7
9 #include <sasl/sasl.h>
10
11 int sasl_user_exists( sasl_conn_t *conn,
12 const char *service,
13 const char *user_realm,
14 const char *user)
15
17 int sasl_user_exists( sasl_conn_t *conn,
18
19 const char *service,
20
21 const char *user_realm,
22
23 const char *user)
24 sasl_user_exists will check if a user exists on the server.
25
26 Parameters
27
28 • conn – the SASL context for this connection
29
30 • service – Service name or NULL (for service name of
31 connection context)
32
33 • user_realm – Realm to check in or NULL (for default
34 realm)
35
36 • user – User name to check for existence.
37
39 SASL functions should return SASL return codes. See sasl.h for a com‐
40 plete list. SASL_OK indicates success.
41
43 RFC 4422,:saslman:sasl(3),:saslman:sasl_errors(3)
44
46 The Cyrus Team
47
49 1993-2016, The Cyrus Team
50
51
52
53
542.1.28 February 18, 2022 SASL_USER_EXISTS(3)