IB users are managed in a separate db called isc4.gdb.  A db utility 
on the server called gsec, located in the \bin directory of the IB
installation is typically used to manage the security database(isc4.gdb)
The zip file contains software that allows a Delphi32 client to
add/delete IB users to/from their IB NT server.  Also included is a 
sample Delphi32 app that demonstrates the functionality of this 
software.

In a nutshell, the included software will:
  - create a separate database(server.gdb) which contains
    a definition for a udf and a store procedure that calls the udf
  - the store procedure,"user_management", allows you to add or del
    InterBase users.  If successful the procedure returns 0 or Null,
    If not, it returns a SQLCODE of -836(It raises an exception with
    the text 'gsec failed'.)

Files descriptions:

schema.sql - Creates the database, defines the udf, and the stored_procedure
           - A generator is used to insure uniqueness within the udf
             This allows multiple users to simultaneously invoke the
             the stored procedure.

udf.dll    -  The Delphi32 dll created from the delphi project.
              This dll must be copied to the directory that is defined
              in schema.sql.

The Udf can use the following environment variables:
  TEMP          ->If not found, default is \temp of the drive
                  that the dll is installed.
                  (Location of temporary output files)

  IB_BIN        ->If not found, default is \ibserver\bin of the drive ...
                  (It uses this to invoke gsec.exe)

  ISC_USER      ->This should be set to the DBA account name.
                  if not found, it defaults to SYSDBA. 

  ISC_PASSWORD  ->This should be set to the DBA password.
                  if not found, it defaults to masterkey

 
  The default assumptions for these environment variables can all
  be modified in the source program(udf.dpr) and recompiled.

Install Steps
-------------
1) copy udf.dll to the interbase bin directory( or wherever it is defined
   to be located in your system per schema.sql)
   If you need to recompile the code to change a default environment
   variable setting, do so first and then copy the resulting 
   dll(udf.dll) to your IB bin directory( or wherever it is defined
   to be located in your system per schema.sql).
2) Define appropriate System environment variables on the Server.
3) run schema.sql thru isql.exe.  from command line type
   isql -i schema.sql.    (Alternatively, this script can be run from WISQL)
4) To test the program: invoke isql
   type:  execute procedure user_management "username","userpassword","add";
                                   or
          execute procedure user_management "username","","del";
5) To test the supplied GUI example:
   - unzip usergui.zip
   - create an alias to point to server.gdb that was created in Step 3.
     The alias used by the Delphi32 program is IBUSERS.




