Stores information about the processes connected to a specific server.
typedef struct ESS_CONNECTINFO_T { ESS_USERNAME_T Name; /* logged in user name */ ESS_APPNAME_T AppName; /* connected application */ ESS_DBNAME_T DbName; /* connected database */ ESS_SVRNAME_T LoginMachine; /* login machine name */ ESS_ULONG_T LoginIP; /* IPv4 address of the login machine */ ESS_TIME_T LastLogin; /* login time */ } ESS_CONNECTINFO_T, *ESS_CONNECTINFO_T, **ESS_CONNECTINFO_T;
Data Type | Field | Description |
---|---|---|
ESS_USERNAME_T | Name | The name of the logged in user. |
ESS_APPNAME_T | AppName | Name of currently connected application (if applicable). |
ESS_DBNAME_T | DbName | Name of the currently connected database(if applicable). |
ESS_SVRNAME_T | LoginMachine | The name of the logged in machine. If the machine name cannot be resolved on the network this field contains the IP address formatted as a string. An asterisk (*) denotes the session which called EssListLogins. |
ESS_ULONG_T | LoginIP | The IP address of the logged in machine. |
ESS_TIME_T | LastLogin | The time of the last login. |