SESSION_INFO_10

The SESSION_INFO_10 structure contains information about the session, including name of the computer; name of the user; and files, pipes, and devices on the computer.

typedef struct _SESSION_INFO_10 {
    LPWSTR    sesi10_cname; // client name (no backslashes)
    LPWSTR    sesi10_username;
    DWORD     sesi10_time;
    DWORD     sesi10_idle_time;
} SESSION_INFO_10, *PSESSION_INFO_10, *LPSESSION_INFO_10;
 

Members

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

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in lmshare.h.

See Also

Networking (Net) Overview, Net Structures, NetSessionEnum, NetSessionGetInfo