Class WrapperUser

  • Direct Known Subclasses:
    WrapperUNIXUser, WrapperWin32User

    public abstract class WrapperUser
    extends java.lang.Object
    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
      WrapperGroup[] getGroups()
      Returns an array of WrapperGroup instances which define the groups that the user belongs to.
      java.lang.String getUser()
      Returns the name of the user.
      • Methods inherited from class java.lang.Object

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

      • getUser

        public java.lang.String getUser()
        Returns the name of the user.
        Returns:
        The name of the user.
      • getGroups

        public WrapperGroup[] getGroups()
        Returns an array of WrapperGroup instances which define the groups that the user belongs to.
        Returns:
        An array of WrapperGroups.