1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-04-30 20:49:04 +02:00
Files
OpenIntegrations/docs/en/examples/MongoDB/GetDatabaseUsers.txt
T

10 lines
416 B
Plaintext
Vendored

Address = "127.0.0.1:1234";
Login = "bayselonarrend";
Password = "12we...";
Base = "main";
ConnectionParams = New Structure("authSource", "admin");
ConnectionString = OPI_MongoDB.GenerateConnectionString(Address, , Login, Password, ConnectionParams);
Connection = OPI_MongoDB.CreateConnection(ConnectionString);
Result = OPI_MongoDB.GetDatabaseUsers(Connection, Base);