| |
|
| java.lang.Object org.apache.harmony.auth.module.UnixSystem
UnixSystem | public class UnixSystem (Code) | | A helper class which queries an information about the current user.
|
Constructor Summary | |
public | UnixSystem() Sole constructor. |
gid | protected long gid(Code) | | User's main group's ID
|
groupname | protected String groupname(Code) | | User's main group's name
|
groups | protected long[] groups(Code) | | List of group IDs the user belongs to
|
groupsNames | protected String[] groupsNames(Code) | | List of group names the user belongs to
|
uid | protected long uid(Code) | | User ID
|
getGid | public long getGid()(Code) | | returns user's main group's id
|
getGroupName | public String getGroupName()(Code) | | returns user's main group's name
|
getGroupNames | public String[] getGroupNames()(Code) | | returns list of names of groups the user belongs to
|
getGroups | public long[] getGroups()(Code) | | returns list of ids of groups the user belongs to
|
getUid | public long getUid()(Code) | | returns user's id
|
getUsername | public String getUsername()(Code) | | returns user name
|
load | native public void load()(Code) | | The function which actually does all the work with loading info
|
toString | public String toString()(Code) | | Returns string representation of this object
|
|
|
|