Subject | Re: [IBO] Change Firebird User password |
---|---|
Author | Paul Vinkenoog |
Post date | 2006-12-23T12:23:37Z |
Hello Subhi.E,
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
> Is there any IBO component exists in D5 for changing the firebirdIn TIB_Connection:
> user password?
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