1MONGOC_URI_SET_PASSWORD(3) MongoDB C Driver MONGOC_URI_SET_PASSWORD(3)
2
3
4
6 mongoc_uri_set_password - mongoc_uri_set_password()
7
9 bool
10 mongoc_uri_set_password (mongoc_uri_t *uri, const char *password);
11
13 · uri: A mongoc_uri_t.
14
15 · password: The new password.
16
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
23 Returns false if the option cannot be set, for example if password is
24 not valid UTF-8.
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.15.2 Nov 06, 2019 MONGOC_URI_SET_PASSWORD(3)