ESS_LOGININFO_T

This structure stores information about the processes connected to a specific server. The fields are:

typedef struct ESS_LOGININFO_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_LOGININFO_T, *ESS_PLOGININFO_T, **ESS_PPLOGININFO_T;
Data TypeFieldDescription
ESS_USERNAME_TName The name of the logged in user.
ESS_APPNAME_TAppName Name of currently connected application (if applicable).
ESS_DBNAME_TDbName Name of the currently connected database(if applicable).
ESS_SVRNAME_TLoginMachine 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_TLoginIP The IP address of the logged in machine.
ESS_TIME_TLastLogin The time of the last login.