Interface OSUserSession


  • public interface OSUserSession
    A single item that is the result of a ListOSUserSessions.
    • Method Detail

      • getUsername

        String getUsername()
        Get the user that is running in this session.
        Returns:
        the username.
      • getEndpoint

        String getEndpoint()
        Get the endpoint. Usually a domain.
        Returns:
        the endpoint.
      • getSessionId

        Long getSessionId()
        Get the Session ID.
        Returns:
        the session ID.
      • getLogonTime

        DateTimeZone getLogonTime()
        Get the logon time when the session was created.
        Returns:
        the logon time.
      • getLogoffTime

        DateTimeZone getLogoffTime()
        Get the time when the session will be automatically logged off.
        Returns:
        the time when the session will be logged off.
      • getFirstJobId

        Long getFirstJobId()
        Get the jobId that started the session. Will be null if the session was not created by a job on this agent.
        Returns:
        job ID.
      • getJobId

        Long getJobId()
        Get the jobId that was running in the session at the time of creating the result set. Will be null if the session was not running any job, or if a job finished whilst another job was still running in it.
        Returns:
        job ID.