Subject | Re: [firebird-support] how to determine User role |
---|---|
Author | Fidel Viegas |
Post date | 2008-03-24T21:21:17Z |
On Mon, Mar 24, 2008 at 5:06 PM, tony_bat <tony_bat@...> wrote:
CONNECT 'database path or alias' USER 'username' PASSWORD 'password'
ROLE 'rolename';
as for doing it programmatically, I really never tried and don't know how.
All the best,
Fidel.
> I have three different roles and several users.I know you can do it in isql like this:
> When a user logs in how can I determine which role to use. I realize
> the role must be set at login, but if user does not know role name when
> logging in how can I get role name(s) and then relogin using role
> appropriate role.
>
> Tony
CONNECT 'database path or alias' USER 'username' PASSWORD 'password'
ROLE 'rolename';
as for doing it programmatically, I really never tried and don't know how.
All the best,
Fidel.