Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Checking for User Logged In
Part of that depends on what you consider as "logged in". One table you can
query is the V$SESSION table. You can check this table for the username and it
will show if there is a connection from that user. I am assuming you are
talking about the database user. There is also a column in that table that will
tell you the OS User name, in case you have multiple people logging into the
database using the same database user id. The background processes also show up
in this table.
Dave
Simon Gellion wrote:
> Is there any way of checking, using SQL, whether a user is still 'logged in'
> to an Oracle database?
>
> Thanks
>
> Simon Gellion
Received on Thu Sep 24 1998 - 11:40:08 CDT
![]() |
![]() |