| java.lang.Object org.tanukisoftware.wrapper.WrapperUser org.tanukisoftware.wrapper.WrapperUNIXUser
WrapperUNIXUser | public class WrapperUNIXUser extends WrapperUser (Code) | | 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().
author: Leif Mortenson |
Constructor Summary | |
| WrapperUNIXUser(int uid, int gid, byte[] user, byte[] realName, byte[] home, byte[] shell) |
WrapperUNIXUser | WrapperUNIXUser(int uid, int gid, byte[] user, byte[] realName, byte[] home, byte[] shell)(Code) | | |
addGroup | void addGroup(int gid, byte[] name)(Code) | | |
getGID | public int getGID()(Code) | | Returns the GID of the user account.
The GID of the user account. |
getGroup | public WrapperUNIXGroup getGroup()(Code) | | 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()(Code) | | Returns the home of the user.
The home of the user. |
getRealName | public String getRealName()(Code) | | Returns the real name of the user.
The real name of the user. |
getShell | public String getShell()(Code) | | Returns the shell of the user.
The shell of the user. |
getUID | public int getUID()(Code) | | Returns the UID of the user account.
The UID of the user account. |
setGroup | void setGroup(int gid, byte[] name)(Code) | | |
toString | public String toString()(Code) | | Returns a string representation of the user.
A string representation of the user. |
|
|