please dont rip this site Prev Next

SESSION_INFO_502 info  Overview  Group

The SESSION_INFO_502 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_502 {
LPTSTR sesi502_cname; // client name (no backslashes)
LPTSTR sesi502_username;
DWORD sesi502_num_opens;
DWORD sesi502_time;
DWORD sesi502_idle_time;
DWORD sesi502_user_flags;
LPTSTR sesi502_cltype_name;
LPTSTR sesi502_transport;
} SESSION_INFO_502, *PSESSION_INFO_502, *LPSESSION_INFO_502;  

Members

sesi502_cname
Points to a Unicode string containing the name of the computer that established the session.
sesi502_username
Points to a Unicode string containing the name of the user who established the session.
sesi502_num_opens
Displays the number of files, devices, and pipes opened during the session.
sesi502_time
Specifies the number of seconds a session has been active.
sesi502_idle_time
Specifies the number of seconds a session has been idle.
sesi502_user_flags
Describes how the user established the session. This member can be one of the following values:

Value

Meaning

SESS_GUEST

The sesi502_username member established the session using a guest account.

SESS_NOENCRYPTION

The sesi502_username member established the session without using password encryption.

sesi502_cltype_name
Points to a Unicode string that specifies the type of client that established the session. Following are the defined types for LAN Manager servers:

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.

sesi502_transport
Specifies the name of the transport that the client is using to communicate with the server.

See Also

NetSessionEnum


file: /Techref/os/win/api/win32/struc/src/str19_4.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/11/27 15:42,
TOP NEW HELP FIND: 
3.144.103.20:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/Techref/os/win/api/win32/struc/src/str19_4.htm"> SESSION_INFO_502</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .