Q: Get OS Userid

From: BO/EBC/KX/RGFC Roger Bjaerevall 08-682 4851 <ebcrbj_at_ebcw150.ericsson.se>
Date: Sun, 19 Jun 1994 16:23:06 GMT
Message-ID: <1994Jun19.162306.24152_at_ericsson.se>


Is it possible to get the OS userid of the current user (SUN OS)?

The 'SELECT user FROM dual' call does only return current ORACLE userid. I did not find any matching parameter to the USERENV() call either.

We need this because our application is connecting to only one static specified ORACLE userid/password. Though we need to track each specific user with the OS userid.

Any solution?

+------------------------------------------------------------------+

+       _/_/_/    _/_/_/   _/_/_/_/  Roger Bjärevall               +
+      _/    _/  _/    _/       _/   BO/EBC/FL/RGFC                +
+     _/    _/  _/    _/       _/    Ericsson Business Networks AB +
+    _/_/_/_/  _/_/_/_/       _/     135 83 Tyresö                 +
+   _/  _/    _/    _/  _/   _/      +46 8 6824851                 +
+  _/    _/  _/    _/  _/   _/                                     +
+ _/     _/ _/_/_/      _/_/         email: ebcrbj_at_ebc.ericsson.se +

+------------------------------------------------------------------+
Received on Sun Jun 19 1994 - 18:23:06 CEST

Original text of this message