All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.UnixUser

java.lang.Object
   |
   +----Acme.UnixUser

public class UnixUser
extends Object
A Unix user. This just encapsulates access to /etc/passwd, equivalent to the Unix getpwnam() and getpwuid() routines.

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o UnixUser(int)
Constructor by userid.
 o UnixUser(String)
Constructor by username.

Method Index

 o getEncPasswd()
 o getGroupid()
 o getHomeDir()
 o getLoginShell()
 o getRealName()
 o getUserId()
 o getUserName()

Constructors

 o UnixUser
 public UnixUser(String name) throws IOException
Constructor by username.

Throws: IOException
if something goes wrong
 o UnixUser
 public UnixUser(int id) throws IOException
Constructor by userid.

Throws: IOException
if something goes wrong

Methods

 o getUserName
 public String getUserName()
 o getEncPasswd
 public String getEncPasswd()
 o getUserId
 public int getUserId()
 o getGroupid
 public int getGroupid()
 o getRealName
 public String getRealName()
 o getHomeDir
 public String getHomeDir()
 o getLoginShell
 public String getLoginShell()

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs