com.ibm.as400.access
Class UserGroup
- java.lang.Object
-
- com.ibm.as400.access.User
-
- com.ibm.as400.access.UserGroup
-
- All Implemented Interfaces:
- java.io.Serializable
public class UserGroup extends User
The UserGroup class represents a user profile that is a group profile.- See Also:
User
,UserList
, Serialized Form
-
-
Field Summary
-
Fields inherited from class com.ibm.as400.access.User
NONE, SPECIAL_AUTHORITY_ALL_OBJECT, SPECIAL_AUTHORITY_AUDIT, SPECIAL_AUTHORITY_IO_SYSTEM_CONFIGURATION, SPECIAL_AUTHORITY_JOB_CONTROL, SPECIAL_AUTHORITY_SAVE_SYSTEM, SPECIAL_AUTHORITY_SECURITY_ADMINISTRATOR, SPECIAL_AUTHORITY_SERVICE, SPECIAL_AUTHORITY_SPOOL_CONTROL
-
-
Constructor Summary
Constructors Constructor and Description UserGroup(AS400 system, java.lang.String name)
Constructs a UserGroup object.
-
Method Summary
Methods Modifier and Type Method and Description java.util.Enumeration
getMembers()
Returns the list of users that are members of this group.-
Methods inherited from class com.ibm.as400.access.User
addPropertyChangeListener, addVetoableChangeListener, exists, getAccountingCode, getAssistanceLevel, getAttentionKeyHandlingProgram, getCCSID, getCHRIDControl, getCountryID, getCurrentLibraryName, getDaysUntilPasswordExpire, getDescription, getDetailInSTRAUTCOL, getDirectoryEntry, getDisplaySignOnInformation, getDLOObjectTypesInSTRAUTCOL, getFileSystemObjectTypesInSTRAUTCOL, getGroupAuthority, getGroupAuthorityType, getGroupID, getGroupIDNumber, getGroupProfileName, getHighestSchedulingPriority, getHomeDirectory, getIASPNames, getIASPStorageAllowed, getIASPStorageUsed, getInitialMenu, getInitialProgram, getJobDescription, getKeyboardBuffering, getLanguageID, getLibNameInSTRAUTCOL, getLimitCapabilities, getLimitDeviceSessions, getLocaleJobAttributes, getLocalePathName, getMaximumStorageAllowed, getMaximumStorageAllowedInLong, getMessageQueue, getMessageQueueDeliveryMethod, getMessageQueueSeverity, getName, getObjectAuditingValue, getObjectNamesInSTRAUTCOL, getObjectsOwned, getObjectTypesInSTRAUTCOL, getOmitLibNamesInSTRAUTCOL, getOutputQueue, getOwner, getPasswordChangeBlock, getPasswordExpirationInterval, getPasswordExpireDate, getPasswordLastChangedDate, getPreviousSignedOnDate, getPrintDevice, getSignedOnAttemptsNotValid, getSortSequenceTable, getSpecialAuthority, getSpecialEnvironment, getStatus, getStorageUsed, getStorageUsedInLong, getSupplementalGroups, getSupplementalGroupsNumber, getSystem, getUserActionAuditLevel, getUserClassName, getUserExpirationAction, getUserExpirationDate, getUserExpirationInterval, getUserID, getUserIDNumber, getUserOptions, getUserProfileName, hasSpecialAuthority, isAuthCollectionActive, isAuthCollectionDeleted, isAuthCollectionRepositoryExist, isGroupHasMember, isLocalPasswordManagement, isNoPassword, isPasswordSetExpire, isUserEntitlementRequired, isWithDigitalCertificates, loadUserInformation, refresh, removePropertyChangeListener, removeVetoableChangeListener, setAccountingCode, setAssistanceLevel, setAttentionKeyHandlingProgram, setCCSID, setCCSID, setCHRIDControl, setCountryID, setCurrentLibraryName, setDescription, setDisplaySignOnInformation, setGroupAuthority, setGroupAuthorityType, setGroupID, setGroupID, setGroupProfileName, setHighestSchedulingPriority, setHomeDirectory, setInitialMenu, setInitialProgram, setJobDescription, setKeyboardBuffering, setLanguageID, setLimitCapabilities, setLimitDeviceSessions, setLocaleJobAttributes, setLocalePathName, setLocalPasswordManagement, setMaximumStorageAllowed, setMaximumStorageAllowed, setMessageQueue, setMessageQueueDeliveryMethod, setMessageQueueSeverity, setName, setObjectAuditingValue, setOutputQueue, setOwner, setPasswordChangeBlock, setPasswordExpirationInterval, setPasswordExpirationInterval, setPasswordSetExpire, setPrintDevice, setSortSequenceTable, setSpecialAuthority, setSpecialEnvironment, setStatus, setSupplementalGroups, setSystem, setUserActionAuditLevel, setUserClassName, setUserExpirationDate, setUserExpirationInterval, setUserID, setUserOptions, toString
-
-
-
-
Constructor Detail
-
UserGroup
public UserGroup(AS400 system, java.lang.String name) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
Constructs a UserGroup object. Note that this constructor no longer throws any of the declared exceptions, but they remain for compatibility.- Parameters:
system
- The system object representing the system on which the group profile exists.name
- The group profile name.- Throws:
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.
-
-
Method Detail
-
getMembers
public java.util.Enumeration getMembers() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, RequestNotSupportedException
Returns the list of users that are members of this group.- Returns:
- An Enumeration of
User
objects. - Throws:
AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.RequestNotSupportedException
- If the requested function is not supported because the system is not at the correct level.
-
-