You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-04 20:54:02 +02:00
16 lines
563 B
Plaintext
Vendored
16 lines
563 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);
|
|
|
|
RoleArray = New Array;
|
|
RoleArray.Add("readWrite");
|
|
|
|
UserName = "newuser";
|
|
UserPassword = "4321";
|
|
|
|
Result = OPI_MongoDB.UpdateUser(Connection, UserName, RoleArray, Base, UserPassword); |