|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.libpam.UnixUser
public final class UnixUser
Represents an Unix user. Immutable.
| Constructor Summary | |
|---|---|
UnixUser(String userName)
|
|
| Method Summary | |
|---|---|
static boolean |
exists(String name)
|
String |
getDir()
Gets the home directory of this user. |
String |
getGecos()
Gets the gecos (the real name) of this user. |
int |
getGID()
Gets the GID of this user. |
Set<String> |
getGroups()
Gets the groups that this user belongs to. |
String |
getShell()
Gets the shell of this user. |
int |
getUID()
Gets the UID of this user. |
String |
getUserName()
Gets the unix account name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnixUser(String userName)
throws PAMException
PAMException| Method Detail |
|---|
public String getUserName()
public int getUID()
public int getGID()
public String getGecos()
public String getDir()
public String getShell()
public Set<String> getGroups()
public static boolean exists(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||