MONGOC_DATABAS...MOVE_ALL_USERS(3)
π MONGOC_DATABAS...MOVE_ALL_USERS(3) π
okay so this page is from the libmongoc manual, and it's all about one little function: mongoc_database_remove_all_users. No cap, that's the whole vibe. It will remove all users configured to access database. π
β¨ SYNOPSIS β¨
bool
mongoc_database_remove_all_users (mongoc_database_t *database,
bson_error_t *error);
This function will remove all users configured to access database. That's it, that's the mission. π¦
π PARAMETERS π
databaseβ Amongoc_database_t. The database bestie in question. πerrorβ An optional location for abson_error_torNULL. Optional means you can passNULLif you're feeling brave. π
π ERRORS π
Errors are propagated via the error parameter. This may fail if there are socket errors or the current user is not authorized to perform the given command.
lowkey important: if the socket is acting up or the current user doesn't have permission for the given command, this can fail, and the error goes through that error parameter. π
π RETURNS π
Returns true if successful. Returns false and sets error if there are invalid arguments or a server or network error. β
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
cute sign-off: this cutie is from libmongoc 2.5.6, dated Oct 09, 202 β and yes, the footer has that chaotic MONGOC_DATABAS...MOVE_ALL_USERS(3) run-on situation, iykyk ππ
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms