Subject Re: Re: Retrieve user information via SQL
Author Robert Zimmermann
> Message 9
> From: "Adam" s3057043@...
> Date: Thu May 11, 2006 4:47pm(PDT)
> Subject: Re: Retrieve user informationen via SQL
> > ( ... )
> > I can't find no system table for:
> > a) all registered users
> Users are registered to a server, not a database. Users are granted
> roles, and those roles are granted permissions to insert / delete /
> update / execute etc to the different database objects.

Hm ok, it's just because I saw something like that on oracle (a system view
showing all users as far as I remember).

> I would suggest you do not reinvent the wheel. There is already an
> interface that wraps the API with C++ classes, so look at that before
> you spend to much time.

Right, but I wanted to have a fully functional interface that is capable to
connect to other databases as well. And so I'm writing a) a common
base-interface and b) changeable .dll "plugins" for database specific stuff
(like the database information retrieval I mentioned before). This also is a
learning project. I'm interested in how all that database stuff works. Sure,
somebody has done this before.

> However this is optional. The code that is executed by the server is
> actually in the field RDB$VIEW_BLR (a sort of compiled SQL), so it is
> possible to remove the view source and retain a functioning database
> (but don't do this unless it is absolutely essential, just letting you
> know it may not always be present).
> Adam

Ok thanks. I just wanted to retrieve the code to alter it using an editor.
So I guess it's okay. I never would modify the system tables myself.
Thanks Adam



GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen f�r GMX Partner: