Subject Re: [IBO] Change Firebird User password
Author flashjobs
Sir,

After using the procedure,

procedure AlterUser(Action: TIB_AlterUserAction; AUserName, AUserPass,
AGroupName, AFirstName, AMiddleName, ALastName: string);

I got the error message "Access violation at address 00000000. Read
of address 00000000". How to solve this?

Thanks.

Subhi.E
Software Associates


--- In IBObjects@yahoogroups.com, Paul Vinkenoog <paul@...> wrote:
>
> Hello Subhi.E,
>
> > Is there any IBO component exists in D5 for changing the firebird
> > user password?
>
> In TIB_Connection:
>
> procedure AlterUser(Action: TIB_AlterUserAction; AUserName,
AUserPass,
> AGroupName, AFirstName, AMiddleName, ALastName: string);
>
> Set Action to uaModifyUser.
>
> The UserName and Password properties of your Connection component
must
> be set to 'SYSDBA' and its password for this to work.
>
> You can also use this TIB_SessionBase method:
>
> procedure AlterUser(Action: TIB_AlterUserAction; AProtocol:
> TIB_Protocol; const AServer, ADBAUser, ADBAPass, AUserName,
> AUserPass, AGroupName, AFirstName, AMiddleName, ALastName:
string);
>
> See the IBO Help.
>
>
> Good luck,
> Paul Vinkenoog
>