Subject | Creating new users for my database. |
---|---|
Author | Ariel Sakin |
Post date | 2005-11-04T11:12:18Z |
Hi,
I create my firebird database using the embedded C# driver using the
following code:
dbParameters = new Hashtable();
dbParameters.Add("User", "SYSDBA");
dbParameters.Add("Password", "masterkey");
dbParameters.Add("ServerType", "1");
dbParameters.Add("Charset", "ASCII");
dbParameters.Add("Database", "MyDbFile.fdb");
FbConnection.CreateDatabase(dbParameters);
And I connect to it with the following connection string:
"Database="MyDbFile.fdb";Charset=ASCII;User=SYSDBA;Password=masterkey;Di
alect=3;ServerType=1"
I want to make it possible to connect to the database using different
users (in addition to SYSDBA, masterkey) and I was not able to find any
way to create new users for the database (both using C# or from SQL).
Any ideas?
Thanks,
Ariel Sakin
[Non-text portions of this message have been removed]
I create my firebird database using the embedded C# driver using the
following code:
dbParameters = new Hashtable();
dbParameters.Add("User", "SYSDBA");
dbParameters.Add("Password", "masterkey");
dbParameters.Add("ServerType", "1");
dbParameters.Add("Charset", "ASCII");
dbParameters.Add("Database", "MyDbFile.fdb");
FbConnection.CreateDatabase(dbParameters);
And I connect to it with the following connection string:
"Database="MyDbFile.fdb";Charset=ASCII;User=SYSDBA;Password=masterkey;Di
alect=3;ServerType=1"
I want to make it possible to connect to the database using different
users (in addition to SYSDBA, masterkey) and I was not able to find any
way to create new users for the database (both using C# or from SQL).
Any ideas?
Thanks,
Ariel Sakin
[Non-text portions of this message have been removed]