org.tanukisoftware.wrapper
Class WrapperUNIXUser
public class 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().
Version:
- Leif Mortenson
int | getGID() - Returns the GID of the user account.
|
WrapperUNIXGroup | getGroup() - Returns the WrapperUNIXGroup which corresponds to the GID.
|
String | getHome() - Returns the home of the user.
|
String | getRealName() - Returns the real name of the user.
|
String | getShell() - Returns the shell of the user.
|
int | getUID() - Returns the UID of the user account.
|
String | toString() - Returns a string representation of the user.
|
getGID
public int getGID()
Returns the GID of the user account.
- 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.
- The WrapperUNIXGroup which corresponds to the GID.
getHome
public String getHome()
Returns the home of the user.
- The home of the user.
getRealName
public String getRealName()
Returns the real name of the user.
- The real name of the user.
getShell
public String getShell()
Returns the shell of the user.
- The shell of the user.
getUID
public int getUID()
Returns the UID of the user account.
- The UID of the user account.
toString
public String toString()
Returns a string representation of the user.
- A string representation of the user.
Copyright 1999, 2003 TanukiSoftware.org. All Rights Reserved.