Consultor Eletrônico



Kbase P97605: How to know who is connected using VST (Virtual System Tables)?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   21/06/2006
Status: Verified

GOAL:

How to know who is connected using VST (Virtual System Tables)?

GOAL:

How to display the user name used for the connection?

GOAL:

How to list the current users connected to a Database using the Virtual System Tables?

FIX:

The following code lists the currently connected user names:
FOR EACH _Connect NO-LOCK WHERE _Connect._Connect-Usr <> ?:
DISPLAY _Connect._Connect-Name.
END.