Subject Re: [IBO] 2 ISC4-questions
Author Geoff Worboys
> 1) Somewhere I have read, that a ServiceAPI-function exists,
> that returns the path of the ISC4.gdb. Is this function
> implemented in IBO ?

As Luiz said, IB_Session.GetISC4Path

> 2) I want to store passwords in my database. Exist there
> functions to encode and decode the passwords in IBO ?

See the Unixpass.pas unit in the IBO source directory.

As is standard, you can only encode a password not decode. To see if
a password matches an existing you compare the two encoded values.

AFAIK there is no API function to check if a user exists. However you
can use the GetISC4Path function to get the location of the security
database, connect to it and query the USERS table. I would still
advise using the AlterUser function to do any maintenance - better for
long term stability of your code.


Geoff Worboys
Telesis Computing