SESSION_INFO_10 structure (lmshare.h)

Contains information about the session, including name of the computer; name of the user; and active and idle times for the session.

Syntax

typedef struct _SESSION_INFO_10 {
  LMSTR sesi10_cname;
  LMSTR 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. This string cannot contain a backslash (\).

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

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header lmshare.h (include Lm.h)

See also

NetSessionEnum

NetSessionGetInfo

Network Management Overview

Network Management Structures

Session Functions