1MONGOC_URI_GET_USERNAME(3)         libmongoc        MONGOC_URI_GET_USERNAME(3)
2
3
4

NAME

6       mongoc_uri_get_username - mongoc_uri_get_username()
7

SYNOPSIS

9          const char *
10          mongoc_uri_get_username (const mongoc_uri_t *uri);
11

PARAMETERS

13uri: A mongoc_uri_t.
14

DESCRIPTION

16       Fetches the username portion of a URI.
17

RETURNS

19       Returns  a  string  which  should not be modified or freed if uri has a
20       username provided, otherwise NULL.
21

AUTHOR

23       MongoDB, Inc
24
26       2017-present, MongoDB, Inc
27
28
29
30
311.24.3                           Aug 17, 2023       MONGOC_URI_GET_USERNAME(3)
Impressum