Class WrapperUNIXUser


  • public class WrapperUNIXUser
    extends WrapperUser
    A WrapperUser contains information about a user account on the platform running the Wrapper. A WrapperUser is obtained by calling WrapperManager.getUser() or WrapperManager.getInteractiveUser().
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getGID()
      Returns the GID of the user account.
      WrapperUNIXGroup getGroup()
      Returns the WrapperUNIXGroup which corresponds to the GID.
      java.lang.String getHome()
      Returns the home of the user.
      java.lang.String getRealName()
      Returns the real name of the user.
      java.lang.String getShell()
      Returns the shell of the user.
      int getUID()
      Returns the UID of the user account.
      java.lang.String toString()
      Returns a string representation of the user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getUID

        public int getUID()
        Returns the UID of the user account.
        Returns:
        The UID of the user account.
      • getGID

        public int getGID()
        Returns the GID of the user account.
        Returns:
        The GID of the user account.
      • getGroup

        public WrapperUNIXGroup getGroup()
        Returns the WrapperUNIXGroup which corresponds to the GID. Null will be returned if groups were not requested with the user.
        Returns:
        The WrapperUNIXGroup which corresponds to the GID.
      • getRealName

        public java.lang.String getRealName()
        Returns the real name of the user.
        Returns:
        The real name of the user.
      • getHome

        public java.lang.String getHome()
        Returns the home of the user.
        Returns:
        The home of the user.
      • getShell

        public java.lang.String getShell()
        Returns the shell of the user.
        Returns:
        The shell of the user.
      • toString

        public java.lang.String toString()
        Returns a string representation of the user.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of the user.