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

SYNOPSIS

6          bool
7          mongoc_uri_set_password (mongoc_uri_t *uri, const char *password);
8

PARAMETERS

10uri: A mongoc_uri_t.
11
12password: The new password.
13

DESCRIPTION

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

RETURNS

20       Returns  false  if the option cannot be set, for example if password is
21       not valid UTF-8.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.25.1                           Nov 08, 2023       MONGOC_URI_SET_PASSWORD(3)
Impressum