}
usys.load();
user = new UnixPrincipal(usys.getUsername());
uid = new UnixNumericUserPrincipal(usys.getUid());
gid = new UnixNumericGroupPrincipal(usys.getGid(), usys.getGroupName(),
true);
long[] gs = usys.getGroups();
String[] gns = usys.getGroupNames();
gids = new UnixNumericGroupPrincipal[gs.length];
for (int i = 0; i < gids.length; i++) {
gids[i] = new UnixNumericGroupPrincipal(gs[i],
i < gns.length ? gns[i] : null, false);
}
return true;
}