|
||||||||||
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(java.lang.String userName)
|
Method Summary | |
---|---|
static boolean |
exists(java.lang.String name)
|
int |
getGID()
Gets the GID of this user. |
java.util.Set<java.lang.String> |
getGroups()
Gets the groups that this user belongs to. |
int |
getUID()
Gets the UID of this user. |
java.lang.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(java.lang.String userName) throws PAMException
PAMException
Method Detail |
---|
public java.lang.String getUserName()
public int getUID()
public int getGID()
public java.util.Set<java.lang.String> getGroups()
public static boolean exists(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |