Hi,

I wrote the code to add the 3 following functions to the Interbase 
extension (php_interbase.dll) to achieve user management:

// Add a user to security database
proto int ibase_add_user(
        string server,             // Name of Interbase server
        string dba_user_name,      // DB admin account (eg SYSDBA)
        string dba_password,       // DB admin pwd (eg masterkey)
        string user_name,          // user to be added
        string password            // and its password
        [, string first_name]      // (optional) user's first name
        [, string middle_name]
        [, string last_name]
)

// Modify an user from security database
proto int ibase_modify_user(
        string server, string dba_user_name, string dba_password,
        string user_name, string password
        [, string first_name] [, string middle_name]
        [, string last_name]
)

// Delete an user from security database
proto int ibase_delete_user(
        string server, string username
)

Do you think it's worth extending PHP with these functions?
Do you like the prototypes?

Any comments are welcome.


Thanks

Fabrice Aeschbacher
mailto:[EMAIL PROTECTED]


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to