| Platform SDK: Network Management |
Windows 95/98: The session_info_1 structure contains information about the session, including name of the computer, name of the user, open files, 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_1 structure or the SESSION_INFO_502 structure instead.
struct _session_info_1 {
char FAR * sesi1_cname;
char FAR * sesi1_username;
unsigned short sesi1_num_conns;
unsigned short sesi1_num_opens;
unsigned short sesi1_num_users;
unsigned long sesi1_time;
unsigned long sesi1_idle_time;
unsigned long sesi1_user_flags;
};
| Value | Meaning |
|---|---|
| SESS_GUEST | The user specified by the sesi1_username member established the session using a guest account. |
| SESS_NOENCRYPTION | The user specified by the sesi1_username member established the session without using password encryption. |
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Svrapi.h.
Network Management Overview, Network Management Structures, Session Functions, NetSessionGetInfo, session_info_0, session_info_2, session_info_10, session_info_50