Platform SDK: Network Management

session_info_10

Windows 95/98: 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.

Windows NT/2000: This structure is not supported on Windows NT/Windows 2000. You can use the SESSION_INFO_10 structure instead.

struct _session_info_10 {
  char FAR *      sesi10_cname;
  char FAR *      sesi10_username;
  unsigned long   sesi10_time;
  unsigned long   sesi10_idle_time;
};

Members

sesi10_cname
Pointer to a string specifying the name of the computer that established the session.
sesi10_username
Pointer to a 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: Unsupported.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Svrapi.h.

See Also

Network Management Overview, Network Management Structures, Session Functions, NetSessionGetInfo, session_info_0, session_info_1, session_info_2, session_info_50