Subject Re: [IBO] Creating Users
Author Lucas Franzen
Sandeep schrieb:
>
> I need to create some special users and passwords from within my
> app, is there any IBO component to do that or do I have to use IBX
> stuff?

You can use the TIB_Connection to do so.

Given that you've got SYSDBA rights with this connection you can use the
AlterUser method to achieve what you want.

So for adding a new user:

ibConnection.AlterUser ( uaAddUser,
<newUserName>,
<newPassword>,
<newGroupName>,
<newFirstName>,
<newMiddleName>,
<newLastName> );

Instead of uaAddUser ou can also use:
uaDeleteUser or uaModifyUser.



It's working fine for me.

But keep in mind that the ISC4 has got no character set, so you you
should restrict yourself to values within the lower ASCII range.

Luc.