Each record in the SESSION class defines a user session on the local host. The record includes the user name, computer name, elapsed time of the connection, and the resources being used.
The following definitions describe the properties contained in this class record. Most properties are modifiable and can be manipulated using selang or the administration interfaces. Non-modifiable properties are marked informational.
The host name where the session was established.
Indicates whether the session was created on Guest account.
Ends a network session between a server and a workstation.
Use the disconnect parameter with the chres or editres commands to modify this property.
Indicate the number of open sessions.
A property that gives information about shared files on a server. This information includes the path of the opened shared resource and the user or computer that opened the resource.
The time elapsed since the session was established.
A value that contains the relative ID (RID) of the user. The RID is determined by the Security Account Manager (SAM) when the user is created. It uniquely defines the user account to SAM within the domain.
Example: Disconnect a user from a local session
To disconnect user ZORRO from a session on the local host, enter the selang command:
chres SESSION zorro disconnect
Note: Disconnecting users may result in loss of data. It is a good idea to warn connected users before disconnecting them.
Copyright © 2013 CA Technologies.
All rights reserved.
|
|