Subject | Re: [firebird-support] Roles in Interbase 6.0 |
---|---|
Author | Martijn Tonies |
Post date | 2006-02-08T17:07:08Z |
Hi,
Unless you would create a table that holds the "current role", which
you set from your application.
This - obviously - only works if you're using unique user names.
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
> I need to find out the current role from inside a trigger in IB 6... IsNo and no.
> that possible? If not (as I fear) can you think of any other way to set
> a connection-local variable that will be visible from inside my trigger?
Unless you would create a table that holds the "current role", which
you set from your application.
This - obviously - only works if you're using unique user names.
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com