SysTutorials

Man Pages › Section 3

sasl_user_exists(3)

sasl_user_exists – Check if a user exists on server

Synopsis

#include <sasl/sasl.h>

int sasl_user_exists( sasl_conn_t *conn, const char *service, const char *user_realm, const char *user)

Description

sasl_user_exists will check if a user exists on the server. conn a connection context service Service name or NULL (for service name of connection context) user_realm Realm to check in or NULL (for default realm) user User name to check for existence of.

Return Value

Returns SASL_OK on success. SASL error code on failure.

Conforming To

RFC 4422

See Also

sasl(3), sasl_errors(3)