public final class UnixUser extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
exists(String name) |
int |
getGID()
Gets the GID of this user.
|
Set<String> |
getGroups()
Gets the groups that this user belongs to.
|
int |
getUID()
Gets the UID of this user.
|
String |
getUserName()
Gets the unix account name.
|
public UnixUser(String userName) throws PAMException
PAMException
public String getUserName()
public int getUID()
public int getGID()
public Set<String> getGroups()
public static boolean exists(String name)
Copyright © 2016. All rights reserved.