![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm just reading through the help sites for information about creating a Trigger. *I'm using it to debug a program. *The trigger will record the exact time a record is updated in a certain table. *My question is: *Is there any way to capture the user that is doing the updating? For example is there something like a GET_USER_ID() function that I can record in the trigger? Thanks, Dom |
#3
| |||
| |||
|
|
On Apr 25, 11:38*am, Dom <dolivas... (AT) gmail (DOT) com> wrote: I'm just reading through the help sites for information about creating a Trigger. *I'm using it to debug a program. *The trigger will record the exact time a record is updated in a certain table. *My question is: *Is there any way to capture the user that is doing the updating? For example is there something like a GET_USER_ID() function that I can record in the trigger? Thanks, Dom SYSTEM_USER is documented in as returning the login name of the current user. *What it seem to return in my environment is the login ID of the current user, in the form [domain]\[userid] where [domain] is the short or local domain name. Fred. |
#4
| |||
| |||
|
|
SYSTEM_USER is documented in as returning the login name of the current user. What it seem to return in my environment is the login ID of the current user, in the form [domain]\[userid] where [domain] is the short or local domain name. |
![]() |
| Thread Tools | |
| Display Modes | |
| |