OSSession

interface OSSession

Represents a user session in the operating system. Provides information about the session, including the user, terminal device, login time, and host related to the session.

Author

N7ghtm4r3

Inheritors

OSSessionImpl

Properties

Link copied to clipboard
abstract val host: String

host The host name or IP address of the system where the session is active.

Link copied to clipboard
abstract val loginTime: Long

loginTime The login time of the user session, represented as a timestamp in milliseconds.

Link copied to clipboard
abstract val terminalDevice: String

terminalDevice The terminal device associated with the session.

Link copied to clipboard
abstract val userName: String

userName The username of the user in the session.