org.gnu.jcifs
Class CifsWorkstationInfo

java.lang.Object
  |
  +--org.gnu.jcifs.CifsWorkstationInfo

public final class CifsWorkstationInfo
extends java.lang.Object

Informations about the workstation

Since:
1.0
Version:
1.0, 21 Nov 1998
Author:
Norbert Hranitzky
See Also:
CifsRemoteAdmin.getWorkstationInfo()

Method Summary
 java.lang.String getAllDomains()
          Returns all domains in which the computer is enlisted
 java.lang.String getDomain()
          Returns the domain to which the workstation belongs
 java.lang.String getLogonDomain()
          Returns the domain for which a user is logged on
 int getMajorVersion()
          Returns the major version number of the networking software the workstation is running.
 int getMinorVersion()
          Returns the minor version number of the networking software the workstation is running.
 java.lang.String getUserName()
          Returns user who is logged on at the workstation
 java.lang.String getWorkstationName()
          Returns the name of the workstation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWorkstationName

public java.lang.String getWorkstationName()
Returns the name of the workstation
Returns:
the name of the workstation

getUserName

public java.lang.String getUserName()
Returns user who is logged on at the workstation
Returns:
user name

getDomain

public java.lang.String getDomain()
Returns the domain to which the workstation belongs
Returns:
domain name

getMajorVersion

public int getMajorVersion()
Returns the major version number of the networking software the workstation is running.
Returns:
major version number

getMinorVersion

public int getMinorVersion()
Returns the minor version number of the networking software the workstation is running.
Returns:
minor version number

getLogonDomain

public java.lang.String getLogonDomain()
Returns the domain for which a user is logged on
Returns:
domain name

getAllDomains

public java.lang.String getAllDomains()
Returns all domains in which the computer is enlisted
Returns:
domain list

Norbert Hranitzky