Subject | Re: RES: [firebird-support] Add users in FB through a Delphi program |
---|---|
Author | Alexandre Benson Smith |
Post date | 2006-02-10T21:04:44Z |
Fabrício Fadel Kammer wrote:
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
> I'm using ibx to do the access... But I wan't to do this direct usingFabricio,
> the API because I don't know if ibx will support the new versions of
> firebird.
>
> []s
>
>
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