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:
Serialized Form

Constructor Summary
UserGroup(AS400 system, java.lang.String name)
          Constructs a UserGroup object.
 
Method Summary
 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, getAccountingCode, getAssistanceLevel, getAttentionKeyHandlingProgram, getCCSID, getCountryID, getCurrentLibraryName, getDaysUntilPasswordExpire, getDescription, getDisplaySignOnInformation, getGroupAuthority, getGroupAuthorityType, getGroupIDNumber, getGroupProfileName, getHighestSchedulingPriority, getHomeDirectory, getInitialMenu, getInitialProgram, getJobDescription, getLanguageID, getLimitCapabilities, getLimitDeviceSessions, getLocaleJobAttributes, getLocalePathName, getMaximumStorageAllowed, getMessageQueue, getMessageQueueDeliveryMethod, getMessageQueueSeverity, getName, getObjectAuditingValue, getOutputQueue, getOwner, getPasswordExpirationInterval, getPasswordExpireDate, getPasswordLastChangedDate, getPreviousSignedOnDate, getPrintDevice, getSignedOnAttemptsNotValid, getSortSequenceTable, getSpecialAuthority, getSpecialEnvironment, getStatus, getStorageUsed, getSupplementalGroups, getSupplementalGroupsNumber, getSystem, getUserActionAuditLevel, getUserClassName, getUserIDNumber, getUserProfileName, isGroupHasMember, isNoPassword, isPasswordSetExpire, isWithDigitalCertificates, loadUserInformation, removePropertyChangeListener, removeVetoableChangeListener, setName, setSystem, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserGroup

public UserGroup(AS400 system,
                 java.lang.String name)
          throws AS400Exception,
                 AS400SecurityException,
                 ConnectionDroppedException,
                 ErrorCompletingRequestException,
                 java.lang.InterruptedException,
                 ObjectDoesNotExistException,
                 java.io.IOException,
                 java.io.UnsupportedEncodingException
Constructs a UserGroup object.
Parameters:
system - The system.
name - The group profile name.
Throws:
AS400Exception - If the AS/400 system returns an error message.
AS400SecurityException - If a security or authority error occurs.
ConnectionDroppedException - If the connection is dropped unexpectedly.
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 AS/400.
ObjectDoesNotExistException - If the AS/400 object does not exist.
java.io.UnsupportedEncodingException - If the character encoding is not supported.
Method Detail

getMembers

public java.util.Enumeration getMembers()
                                 throws AS400Exception,
                                        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:
AS400Exception - If the AS/400 system returns an error message.
AS400SecurityException - If a security or authority error occurs.
ConnectionDroppedException - If the connection is dropped unexpectedly.
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 AS/400.
ObjectDoesNotExistException - If the AS/400 object does not exist.
RequestNotSupportedException - If the AS/400 system is older than V3R7.