Subject RES: RES: [firebird-support] Add users in FB through a Delphi program
Author Fabrício Fadel Kammer
Thanks Alexandre,

Where can I get the manual of the FB api????

what's the middleware that you recomend to do the FB access?

[]s

-----Mensagem original-----
De: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] Em nome de Alexandre Benson
Smith
Enviada em: sexta-feira, 10 de fevereiro de 2006 18:05
Para: firebird-support@yahoogroups.com
Assunto: Re: RES: [firebird-support] Add users in FB through a Delphi
program


Fabrício Fadel Kammer wrote:
> I'm using ibx to do the access... But I wan't to do this direct using
> the API because I don't know if ibx will support the new versions of
> firebird.
>
> []s
>
>
Fabricio,

If IBX will become incompatible with FB you will be in trouble in any
way.

from the IB 6 API Guide:
isc_add_user( )
Adds a user record to the password database, isc4.gdb.
Note Use of this function is deprecated. It is replaced by a full
featured Services API. See
Chapter 12: “Working with Services” on page 199 and the reference entry
for “isc_service_start( )” on page 380. Syntax ISC_STATUS isc_add_user(
ISC_STATUS *status USER_SEC_DATA *user_sec_data);

Parameter Type Description
status vector ISC_STATUS * Pointer to the error status vector
user_sec_data USER_SEC_DATA * Pointer to a struct that is defined in
ibase.h

Description The three security functions, isc_add_user(),
isc_delete_user(), and isc_modify_user()
mirror functionality that is available in the gsec command-line utility.

isc_add_user()
adds a record to isc4.gdb, InterBase’s password database

Note that even this old manual states to use the services API instead of

isc_add_user direct. look on API guide, all information are there.

see you !

--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://firebird.sourceforge.net and click the Resources item on
the main (top) menu. Try Knowledgebase and FAQ links !

Also search the knowledgebases at http://www.ibphoenix.com

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Yahoo! Groups Links