Class WrapperUNIXUser
java.lang.Object
org.tanukisoftware.wrapper.WrapperUser
org.tanukisoftware.wrapper.WrapperUNIXUser
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
Modifier and TypeMethodDescriptionintgetGID()Returns the GID of the user account.getGroup()Returns the WrapperUNIXGroup which corresponds to the GID.getHome()Returns the home of the user.Returns the real name of the user.getShell()Returns the shell of the user.intgetUID()Returns the UID of the user account.toString()Returns a string representation of the user.Methods inherited from class WrapperUser
getGroups, getUser
-
Method Details
-
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
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
-
getHome
-
getShell
-
toString
-