1MONGOC_URI_SET_PASSWORD(3)     MongoDB C Driver     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

13       · uri: A mongoc_uri_t.
14
15       · password: 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.14.0                           Feb 22, 2019       MONGOC_URI_SET_PASSWORD(3)
Impressum