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
See Also:
CifsRemoteAdmin.getWorkstationInfo()

Field Summary
(package private)  java.lang.String fAllDomains
           
(package private)  java.lang.String fDomain
           
(package private)  java.lang.String fLogonDomain
           
(package private)  int fMajorVersion
           
(package private)  int fMinorVersion
           
(package private)  java.lang.String fUserName
           
(package private)  java.lang.String fWorkstationName
           
 
Constructor Summary
(package private) CifsWorkstationInfo()
           
 
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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fWorkstationName

java.lang.String fWorkstationName

fUserName

java.lang.String fUserName

fDomain

java.lang.String fDomain

fMajorVersion

int fMajorVersion

fMinorVersion

int fMinorVersion

fLogonDomain

java.lang.String fLogonDomain

fAllDomains

java.lang.String fAllDomains
Constructor Detail

CifsWorkstationInfo

CifsWorkstationInfo()
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