Provided by: libmongoc-doc_1.30.2-1_all 

SYNOPSIS
const bson_t * mongoc_client_session_get_lsid (mongoc_client_session_t *session); Get the server-side "logical session ID" associated with this mongoc_client_session_t as a BSON document.
PARAMETERS
• session: A mongoc_client_session_t.
RETURNS
A bson_t that is valid only for the lifetime of session.
AUTHOR
MongoDB, Inc
COPYRIGHT
2009-present, MongoDB, Inc. 1.30.2 Mar 05, 2025 MONGOC_CLIENT_SESSION_GET_LSID(3)