1MONGOC_URI_SET_PASSWORD(3)         libmongoc        MONGOC_URI_SET_PASSWORD(3)
2
3
4

NAME

6       mongoc_uri_set_password - mongoc_uri_set_password()
7

SYNOPSIS

9          bool
10          mongoc_uri_set_password (mongoc_uri_t *uri, const char *password);
11

PARAMETERS

13uri: A mongoc_uri_t.
14
15password: The new password.
16

DESCRIPTION

18       Sets  the  URI's password, after the URI has been parsed from a string.
19       The driver authenticates with this password if  the  username  is  also
20       set.
21

RETURNS

23       Returns  false  if the option cannot be set, for example if password is
24       not valid UTF-8.
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.20.0                           Nov 18, 2021       MONGOC_URI_SET_PASSWORD(3)
Impressum