The system table CONNECTEDUSERS contains all the database users who have logged on.
CONNECTEDUSERS
USERNAME |
CHAR(32) |
Name of user |
TERMID |
CHAR(18) |
Terminal identification |
SESSION |
FIXED(10) |
Session |
CATALOG_CACHE_SIZE |
FIXED(10) |
Size of cache for catalog information of this database session |
See also:
Evaluating System Tables ® CONNECTEDUSERS