Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> how to determine the osuser of a session

how to determine the osuser of a session

From: Andreas Mosmann <keineemails_at_gmx.de>
Date: Tue, 21 Jun 2005 07:52:53 +0200
Message-ID: <1119333173.73@user.newsoffice.de>


Hi NewsGroup,

<Oracle 9.2i>

for debugging we wrote down a logging that stores some information to file and to database.
It would be easier to handle, if such a record also contains the osuser or the terminal he sits on, so that you differentiate between the users (in our case we implemented an own user management, so that "SELECT userid FROM DUAL" is useless).
I could do this from inside the program, but so I had to rebuilt and redeliver the program. Therefore I decided to use a trigger that fills every new record of that table with this information. Is there a possibility to do so?

Thanks

Andreas

-- 
wenn email, dann AndreasMosmann <bei> web <punkt> de
Received on Tue Jun 21 2005 - 00:52:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US