Subject | Re: [firebird-support] Current User in Trigger |
---|---|
Author | Jerome Bouvattier |
Post date | 2004-05-03T00:12:51Z |
Jacob,
[..]
executing.
The one you're after is CURRENT_USER.
.. but CURRENT_ROLE, CURRENT_TRANSACTION, CURRENT_CONNECTION might interest
you as well.
--
Jerome
[..]
> ie supposed i have a tigger on before insert for a table and i want toLook at Current_X variables for finding the context in which your trigger is
> log each inser to this table with the username inserting, how would i go
> about finding the current username?
executing.
The one you're after is CURRENT_USER.
.. but CURRENT_ROLE, CURRENT_TRANSACTION, CURRENT_CONNECTION might interest
you as well.
--
Jerome