This class implementation retrieves and makes available Solaris UID/GID/groups information for the current user.
Instantiate a SolarisSystem and load the native library to access the underlying system information. if (loadedLibrary == false) { System.loadLibrary("jaas_unix"); loadedLibrary = true; } getSolarisInfo();
SolarisSystem
if (loadedLibrary == false) { System.loadLibrary("jaas_unix"); loadedLibrary = true; } getSolarisInfo();
Get the GID for the current Solaris user. returnthe GID for the current Solaris user. return gid;
return gid;
Get the supplementary groups for the current Solaris user. returnthe supplementary groups for the current Solaris user. return groups;
return groups;
Get the UID for the current Solaris user. returnthe UID for the current Solaris user. return uid;
return uid;
Get the username for the current Solaris user. returnthe username for the current Solaris user. return username;
return username;