Platform SDK: Network Management

SESSION_INFO_10

The SESSION_INFO_10 structure contains information about the session, including name of the computer; name of the user; and active and idle times for the session.

typedef struct _SESSION_INFO_10 {
  LPWSTR    sesi10_cname;
  LPWSTR    sesi10_username;
  DWORD     sesi10_time;
  DWORD     sesi10_idle_time;
} SESSION_INFO_10, *PSESSION_INFO_10, *LPSESSION_INFO_10;

Members

sesi10_cname
Pointer to a Unicode string specifying the name of the computer that established the session.
sesi10_username
Pointer to a Unicode string specifying the name of the user who established the session.
sesi10_time
Specifies the number of seconds the session has been active.
sesi10_idle_time
Specifies the number of seconds the session has been idle.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Lmshare.h.

See Also

Network Management Overview, Network Management Structures, Session Functions, NetSessionEnum, NetSessionGetInfo