Subject | Re: [IBO] Creating Users |
---|---|
Author | Lucas Franzen |
Post date | 2002-03-06T10:50:39Z |
Sandeep schrieb:
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.
>You can use the TIB_Connection to do so.
> 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?
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.