[fpc-pascal] Connecting to Firebird using FPC/Lazarus over a LAN with user creation privilege

Ludo Brands ludo.brands at free.fr
Sat Mar 9 15:09:18 CET 2013


On 03/09/2013 03:03 PM, Tony Whyman wrote:
> Mark,
> 
> You should be able to do this using the Firebird Services API. IBX
> exposes this API under the Firebird Admin tab and the TIBSecurityService
> class is what you are looking for.
> 
> This has methods to
> 
> "DisplayUsers", which gets info on all users and puts it into an array
> property.
> 
> Adduser, ModifyUser and DeleteUser - which should be self-evident.
> 
> The original Borland documentation is not great but if you search on
> TIBSecurityService you should get most questions answered and its worth
> reading the Firebird Services API documentation to understand what is
> going on.
> 
> Regards
> 
> Tony Whyman
> MWA Software
> 

That is exactly what the FBAdmin unit is doing using the Services API.

Ludo




More information about the fpc-pascal mailing list