Platform SDK: Network Management |
The SESSION_INFO_502 structure contains information about the session, including name of the computer; name of the user; open files, pipes, and devices on the computer; and the name of the transport the client is using.
typedef struct _SESSION_INFO_502 { LPWSTR sesi502_cname; LPWSTR sesi502_username; DWORD sesi502_num_opens; DWORD sesi502_time; DWORD sesi502_idle_time; DWORD sesi502_user_flags; LPWSTR sesi502_cltype_name; LPWSTR sesi502_transport; } SESSION_INFO_502, *PSESSION_INFO_502, *LPSESSION_INFO_502;
Value | Meaning |
---|---|
SESS_GUEST | The user specified by the sesi502_username member established the session using a guest account. |
SESS_NOENCRYPTION | The user specified by the sesi502_username member established the session without using password encryption. |
Value | Meaning |
---|---|
DOS LM 1.0 | LAN Manager for MS-DOS 1.0 clients. |
DOS LM 2.0 | LAN Manager for MS-DOS 2.0 clients. |
OS/2 LM 1.0 | LAN Manager for MS-OS/2 1.0 clients. |
OS/2 LM 2.0 | LAN Manager for MS-OS/2 2.0 clients. |
Sessions from LAN Manager servers running UNIX also will appear as LAN Manager 2.0.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Unsupported.
Header: Declared in Lmshare.h.
Network Management Overview, Network Management Structures, Session Functions, NetSessionEnum