gsec is the commandline to administer firebird, what I am suggesting is
to run a command line from within your application, and feed it
parameters.

MyList='gsec <stuff that makes Firebird dance>';

WinExec(PChar(MyList) , SW_SHOWNORMAL);

I take your points, but I stand by my opinion, users should not control
passwords.

You should make sure your users understand that if they change, and then
loose the password, that they are stuffed.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stevio
Sent: 21 August 2008 19:49
To: Delphi DB
Subject: Re: Creating a user from within Delphi

> Not answering your question directly. But here's a clue :
> ShellExec + (gsec -user sysdba -password <password> -database
> <databasename>)

ShellExec is not something I have used before. I have been using
Interbase 
Express components in my application. Can I create the user using them?

> IMHO The dba admin should be controlling passwords, not end users.
> Tails should not wag dogs.

But you are assuming that there is a dba admin. A lot of the time with
my 
application, other than installing Firebird, the end users will not know

much about Firebird.

Thanks,
Stephen 

_______________________________________________
Delphi-DB mailing list
Delphi-DB@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-db

_______________________________________________
Delphi-DB mailing list
Delphi-DB@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-db

Reply via email to