Subject | Re: [IBO] 2 ISC4-questions |
---|---|
Author | Geoff Worboys |
Post date | 2001-05-01T01:14:53Z |
> 1) Somewhere I have read, that a ServiceAPI-function exists,As Luiz said, IB_Session.GetISC4Path
> that returns the path of the ISC4.gdb. Is this function
> implemented in IBO ?
> 2) I want to store passwords in my database. Exist thereSee the Unixpass.pas unit in the IBO source directory.
> functions to encode and decode the passwords in IBO ?
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.
HTH
Geoff Worboys
Telesis Computing