Subject | Re: [ib-support] Default Values |
---|---|
Author | Martijn Tonies |
Post date | 2002-08-16T10:21:10Z |
Hi,
the CURRENT_USER is a function that retrieves the user
from the connection - so yes, if you log in with user GERHARDUS,
it would return that user name.
Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com
Upscene Productions
http://www.upscene.com
"This is an object-oriented system.
If we change anything, the users object."
the CURRENT_USER is a function that retrieves the user
from the connection - so yes, if you log in with user GERHARDUS,
it would return that user name.
Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com
Upscene Productions
http://www.upscene.com
"This is an object-oriented system.
If we change anything, the users object."
> I have created a domain with the following values
>
> CREATE DOMAIN DOM_CURRENT_USER
> AS VARCHAR(15)
> DEFAULT CURRENT_USER
> NOT NULL
>
> My question is, is the "Current_User" and the user I logged in with the
> connection the same thing. Put differently, is the current_user variable
> linked or dependant on the current connection to the database.
>
> I ask because I use a sp to insert a record and I dont want to send the