org.jvnet.libpam
public final class UnixUser extends java.lang.Object
Constructor and Description |
---|
UnixUser(java.lang.String userName) |
Modifier and Type | Method and Description |
---|---|
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.
|
public UnixUser(java.lang.String userName) throws PAMException
PAMException
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)
Copyright © 2014. All Rights Reserved.