Subject | Re: users of database |
---|---|
Author | Fabrice Aeschbacher |
Post date | 2003-05-19T09:50:44Z |
You can also call the gsec command line utility from your program.
One other solution is to use service manager api calls
(isc_service_attach, isc_service_start). See API documentation.
HTH,
Fabrice
One other solution is to use service manager api calls
(isc_service_attach, isc_service_start). See API documentation.
HTH,
Fabrice
--- In ib-support@yahoogroups.com, Xavier Solé <x.sole@i...> wrote:
> > how can we create a user from our programs?
> >
> > is there CREATE USER syntax?
>
> No, you have to attack directly the isc4.gdb database, where the
users of
> the database are stored. With a simple insert into a table of this
database
> you will have your user added, but ensure that the password is
encrypted
> when you store it in the database. To do all this, however, you
*must* be
> the SYSDBA.
>
> HTH,
>
> Xavi.