com.ibm.as400.resource
Class RUser

java.lang.Object
  |
  +--com.ibm.as400.resource.Resource
        |
        +--com.ibm.as400.resource.ChangeableResource
              |
              +--com.ibm.as400.resource.RUser
All Implemented Interfaces:
java.io.Serializable

public class RUser
extends ChangeableResource

The RUser class represents an AS/400 user profile and directory entry.

The following attribute IDs are supported:

Use any of these attribute IDs with getAttributeValue() and setAttributeValue() to access the attribute values for an RUser.

// Create an RUser object to refer to a specific user.
AS400 system = new AS400("MYSYSTEM", "MYUSERID", "MYPASSWORD");
RUser user = new RUser(system, "AUSERID");

// Get the user status. String status = (String)user.getAttributeValue(RUser.STATUS);
// Set the print device for a user to work station. user.setAttributeValue(RUser.PRINT_DEVICE, RUser.PRINT_DEVICE_WORK_STATION);
// Commit the attribute change. user.commitAttributeChanges();

See Also:
RUserList, Serialized Form

Field Summary
static java.lang.String ACCOUNTING_CODE
          Attribute ID for accounting code.
static java.lang.String ALLOW_SYNCHRONIZATION
          Attribute ID for allow synchronization.
static java.lang.String ASSISTANCE_LEVEL
          Attribute ID for assistance level.
static java.lang.String ASSISTANCE_LEVEL_ADVANCED
          Attribute value indicating the expert system user interface.
static java.lang.String ASSISTANCE_LEVEL_BASIC
          Attribute value indicating the Operational Assistant user interface.
static java.lang.String ASSISTANCE_LEVEL_INTERMEDIATE
          Attribute value indicating the system user interface.
static java.lang.String ATTENTION_KEY_HANDLING_PROGRAM
          Attribute ID for attention key handling program.
static java.lang.String ATTENTION_KEY_HANDLING_PROGRAM_ASSIST
          Attribute value indicating the Operational Assistant attention key handling program.
static java.lang.String BUILDING
          Attribute ID for building.
static java.lang.String CC_MAIL_ADDRESS
          Attribute ID for cc:Mail address.
static java.lang.String CC_MAIL_COMMENT
          Attribute ID for cc:Mail comment.
static java.lang.String CHARACTER_CODE_SET_ID
          Attribute ID for character code set ID.
static java.lang.String CHARACTER_IDENTIFIER_CONTROL
          Attribute ID for character identifier control.
static java.lang.String CHARACTER_IDENTIFIER_CONTROL_DEVICE_DESCRIPTION
          Attribute value indicating the same function as on the CHRID command parameter for display files, printer files, and panel groups.
static java.lang.String CHARACTER_IDENTIFIER_CONTROL_JOB_CCSID
          Attribute value indicating the same function as on the CHRID command parameter for display files, printer files, and panel groups.
static java.lang.String COMPANY
          Attribute ID for company.
static java.lang.String COUNTRY_ID
          Attribute ID for country ID.
static java.lang.String CURRENT_LIBRARY_NAME
          Attribute ID for current library.
static java.lang.String CURRENT_LIBRARY_NAME_DEFAULT
          Attribute value indicating that the user does not have a current library.
static java.lang.String DATE_PASSWORD_EXPIRES
          Attribute ID for date password expires.
static java.lang.String DAYS_UNTIL_PASSWORD_EXPIRES
          Attribute ID for days until password expires.
static java.lang.String DEPARTMENT
          Attribute ID for department.
static java.lang.String DIGITAL_CERTIFICATE_INDICATOR
          Attribute ID for digital certificate indicator.
static java.lang.String DISPLAY_SIGN_ON_INFORMATION
          Attribute ID for display sign-on information.
static java.lang.String FAX_TELEPHONE_NUMBER
          Attribute ID for fax telephone number.
static java.lang.String FIRST_NAME
          Attribute ID for first name.
static java.lang.String FULL_NAME
          Attribute ID for full name.
static java.lang.String GROUP_AUTHORITY
          Attribute ID for group authority.
static java.lang.String GROUP_AUTHORITY_ALL
          Attribute value indicating that the group profile has all authority to the objects the user creates.
static java.lang.String GROUP_AUTHORITY_CHANGE
          Attribute value indicating that the group profile has change authority to the objects the user creates.
static java.lang.String GROUP_AUTHORITY_EXCLUDE
          Attribute value indicating that the group profile has exclude authority to the objects the user creates.
static java.lang.String GROUP_AUTHORITY_TYPE
          Attribute ID for group authority type.
static java.lang.String GROUP_AUTHORITY_TYPE_PGP
          Attribute value indicating that the group profile will be the primary group for objects the user creates.
static java.lang.String GROUP_AUTHORITY_TYPE_PRIVATE
          Attribute value indicating that the group profile has a private authority to the objects the user creates, or the user does not have a group profile.
static java.lang.String GROUP_AUTHORITY_USE
          Attribute value indicating that the group profile has use authority to the objects the user creates.
static java.lang.String GROUP_ID_NUMBER
          Attribute ID for group ID number.
static java.lang.String GROUP_MEMBER_INDICATOR
          Attribute ID for group member indicator.
static java.lang.String GROUP_PROFILE_NAME
          Attribute ID for group profile name.
static java.lang.String HIGHEST_SCHEDULING_PRIORITY
          Attribute ID for highest scheduling priority.
static java.lang.String HOME_DIRECTORY
          Attribute ID for home directory.
static java.lang.String INDIRECT_USER
          Attribute ID for indirect user.
static java.lang.String INITIAL_MENU
          Attribute ID for initial menu.
static java.lang.String INITIAL_MENU_SIGNOFF
          Attribute value for initial menu signoff.
static java.lang.String INITIAL_PROGRAM
          Attribute ID for initial program.
static java.lang.String JOB_DESCRIPTION
          Attribute ID for job description.
static java.lang.String JOB_TITLE
          Attribute ID for job title.
static java.lang.String KEYBOARD_BUFFERING
          Attribute ID for keyboard buffering.
static java.lang.String KEYBOARD_BUFFERING_TYPE_AHEAD
          Attribute value indicating the type-ahead option is on, but the attention-key buffering options is not.
static java.lang.String LANGUAGE_ID
          Attribute ID for language ID.
static java.lang.String LAST_NAME
          Attribute ID for last name.
static java.lang.String LIMIT_CAPABILITIES
          Attribute ID for limit capabilities.
static java.lang.String LIMIT_CAPABILITIES_PARTIAL
          Attribute value indicating the user cannot change the initial program or current library.
static java.lang.String LIMIT_DEVICE_SESSIONS
          Attribute ID for limit device sessions.
static java.lang.String LOCAL_DATA_INDICATOR
          Attribute ID for local data indicator.
static java.lang.String LOCAL_DATA_INDICATOR_LOCAL
          Attribute value indicating that the user was created on this system or if a remote user was created on this system.
static java.lang.String LOCAL_DATA_INDICATOR_SHADOWED
          Attribute value indicating that the user was shadowed from another system.
static java.lang.String LOCALE_JOB_ATTRIBUTES
          Attribute ID for locale job attributes.
static java.lang.String LOCALE_JOB_ATTRIBUTES_CCSID
          Attribute value indicating that the coded character set identifier is set from the locale path name at the time a job is started for this user profile.
static java.lang.String LOCALE_JOB_ATTRIBUTES_DATE_FORMAT
          Attribute value indicating that the date format is set from the locale path name at the time a job is started for this user profile.
static java.lang.String LOCALE_JOB_ATTRIBUTES_DATE_SEPARATOR
          Attribute value indicating that the date separator is set from the locale path name at the time a job is started for this user profile.
static java.lang.String LOCALE_JOB_ATTRIBUTES_DECIMAL_FORMAT
          Attribute value indicating that the decimal format is set from the locale path name at the time a job is started for this user profile.
static java.lang.String LOCALE_JOB_ATTRIBUTES_SORT_SEQUENCE
          Attribute value indicating that the sort sequence is set from the locale path name at the time a job is started for this user profile.
static java.lang.String LOCALE_JOB_ATTRIBUTES_TIME_SEPARATOR
          Attribute value indicating that the time separator is set from the locale path name at the time a job is started for this user profile.
static java.lang.String LOCALE_PATH_NAME
          Attribute ID for locale path name.
static java.lang.String LOCALE_PATH_NAME_C
          Attribute value indicating the C locale path name.
static java.lang.String LOCALE_PATH_NAME_POSIX
          Attribute value indicating the POSIX locale path name.
static java.lang.String LOCATION
          Attribute ID for location.
static java.lang.String MAIL_NOTIFICATION
          Attribute ID for mail notification.
static java.lang.String MAIL_NOTIFICATION_ALL
          Attribute value indicating that the user is notified of the arrival of all types of mail.
static java.lang.String MAIL_NOTIFICATION_NONE
          Attribute value indicating that the user is not notified of the arrival of mail.
static java.lang.String MAIL_NOTIFICATION_SPECIFIC
          Attribute value indicating that the user is notified of the arrival of specific types of mail.
static java.lang.String MAILING_ADDRESS_LINE_1
          Attribute ID for mailing address line 1.
static java.lang.String MAILING_ADDRESS_LINE_2
          Attribute ID for mailing address line 2.
static java.lang.String MAILING_ADDRESS_LINE_3
          Attribute ID for mailing address line 3.
static java.lang.String MAILING_ADDRESS_LINE_4
          Attribute ID for mailing address line 4.
static java.lang.String MANAGER_CODE
          Attribute ID for manager code.
static java.lang.String MAXIMUM_ALLOWED_STORAGE
          Attribute ID for maximum allowed storage.
static java.lang.String MESSAGE_NOTIFICATION
          Attribute ID for message notification.
static java.lang.String MESSAGE_QUEUE
          Attribute ID for message queue.
static java.lang.String MESSAGE_QUEUE_DELIVERY_METHOD
          Attribute ID for message queue delivery method.
static java.lang.String MESSAGE_QUEUE_DELIVERY_METHOD_BREAK
          Attribute value indicating that the job to which the message queue is assigned is interrupted when a message arrives on the message queue.
static java.lang.String MESSAGE_QUEUE_DELIVERY_METHOD_DEFAULT
          Attribute value indicating that messages requiring replies are answered with their default reply.
static java.lang.String MESSAGE_QUEUE_DELIVERY_METHOD_HOLD
          Attribute value indicating that the messages are held in the message queue until they are requested by the user or program.
static java.lang.String MESSAGE_QUEUE_DELIVERY_METHOD_NOTIFY
          Attribute value indicating that the job to which the message queue is assigned is notified when a message arrives on the message queue.
static java.lang.String MESSAGE_QUEUE_SEVERITY
          Attribute ID for message queue severity.
static java.lang.String MIDDLE_NAME
          Attribute ID for middle name.
static java.lang.String NETWORK_USER_ID
          Attribute ID for network user ID.
static java.lang.String NO
          Attribute value for no.
static java.util.Date NO_DATE
          Attribute value for no date.
static java.lang.String NO_PASSWORD_INDICATOR
          Attribute ID for no password indicator.
static java.lang.String NONE
          Attribute value for none.
static java.lang.String OBJECT_AUDITING_VALUE
          Attribute ID for object auditing value.
static java.lang.String OBJECT_AUDITING_VALUE_ALL
          Attribute value indicating that object read and change operations are audited for the user if the object's auditing value is *USRPRF.
static java.lang.String OBJECT_AUDITING_VALUE_CHANGE
          Attribute value indicating that object changes are audited for the user if the object's auditing value is *USRPRF.
static java.lang.String OFFICE
          Attribute ID for office.
static java.lang.String OR_NAME
          Attribute ID for O/R name.
static java.lang.String OUTPUT_QUEUE
          Attribute ID for output queue.
static java.lang.String OUTPUT_QUEUE_DEVICE
          Attribute value indicating that an output queue with the same name as the device specified in the printer device parameter is used.
static java.lang.String OUTPUT_QUEUE_WORK_STATION
          Attribute value indicating that the output queue assigned to the user's work station is used.
static java.lang.String OWNER
          Attribute ID for owner.
static java.lang.String OWNER_GROUP_PROFILE
          Attribute value indicating that the user's group profile owns any objects the user creates.
static java.lang.String OWNER_USER_PROFILE
          Attribute value indicating that the user owns any objects the user creates.
static java.lang.String PASSWORD_CHANGE_DATE
          Attribute ID for password change date.
static java.lang.String PASSWORD_EXPIRATION_INTERVAL
          Attribute ID for password expiration interval.
static java.lang.String PREFERRED_NAME
          Attribute ID for preferred name.
static java.lang.String PREVIOUS_SIGN_ON
          Attribute ID for previous sign-on.
static java.lang.String PRINT_COVER_PAGE
          Attribute ID for print cover page.
static java.lang.String PRINT_DEVICE
          Attribute ID for print device.
static java.lang.String PRINT_DEVICE_WORK_STATION
          Attribute value indicating that the printer assigned to the user's work station is used.
static java.lang.String PRIORITY_MAIL_NOTIFICATION
          Attribute ID for priority mail notification.
static java.lang.String SET_PASSWORD_TO_EXPIRE
          Attribute ID for set password to expire.
static java.lang.String SIGN_ON_ATTEMPTS_NOT_VALID
          Attribute ID for sign-on attempts not valid.
static java.lang.String SMTP_DOMAIN
          Attribute ID for SMTP domain.
static java.lang.String SMTP_ROUTE
          Attribute ID for SMTP route.
static java.lang.String SMTP_USER_ID
          Attribute ID for SMTP user ID.
static java.lang.String SORT_SEQUENCE_TABLE
          Attribute ID for sort sequence table.
static java.lang.String SORT_SEQUENCE_TABLE_HEX
          Attribute value indicating that the hexadecimal values of the characters are used to determine the sort sequence.
static java.lang.String SORT_SEQUENCE_TABLE_SHARED
          Attribute value indicating that a shared-weight sort table associated with the language specified
static java.lang.String SORT_SEQUENCE_TABLE_UNIQUE
          Attribute value indicating that a unique-weight sort table associated with the language specified
static java.lang.String SPECIAL_AUTHORITIES
          Attribute ID for special authorities.
static java.lang.String SPECIAL_AUTHORITIES_ALL_OBJECT
          Attribute value indicating all object special authorities.
static java.lang.String SPECIAL_AUTHORITIES_AUDIT
          Attribute value indicating audit special authorities.
static java.lang.String SPECIAL_AUTHORITIES_IO_SYSTEM_CONFIGURATION
          Attribute value indicating I/O system configuration special authorities.
static java.lang.String SPECIAL_AUTHORITIES_JOB_CONTROL
          Attribute value indicating job control special authorities.
static java.lang.String SPECIAL_AUTHORITIES_SAVE_SYSTEM
          Attribute value indicating save system special authorities.
static java.lang.String SPECIAL_AUTHORITIES_SECURITY_ADMINISTRATOR
          Attribute value indicating security administrator special authorities.
static java.lang.String SPECIAL_AUTHORITIES_SERVICE
          Attribute value indicating service special authorities.
static java.lang.String SPECIAL_AUTHORITIES_SPOOL_CONTROL
          Attribute value indicating spool control special authorities.
static java.lang.String SPECIAL_ENVIRONMENT
          Attribute ID for special environment.
static java.lang.String SPECIAL_ENVIRONMENT_SYSTEM_36
          Attribute value indicating that the user operates in the System/36 environment.
static java.lang.String STATUS
          Attribute ID for status.
static java.lang.String STATUS_ENABLED
          Attribute value indicating that the user profile is enabled.
static java.lang.String STATUS_NOT_ENABLED
          Attribute value indicating that the user profile is not enabled.
static java.lang.String STORAGE_USED
          Attribute ID for storage used.
static java.lang.String SUPPLEMENTAL_GROUPS
          Attribute ID for supplemental groups.
static java.lang.String SYSTEM_VALUE
          Attribute value for system value.
static java.lang.String TELEPHONE_NUMBER_1
          Attribute ID for telephone number 1.
static java.lang.String TELEPHONE_NUMBER_2
          Attribute ID for telephone number 2.
static java.lang.String TEXT
          Attribute ID for text.
static java.lang.String TEXT_DESCRIPTION
          Attribute ID for text description.
static java.lang.String USER_ACTION_AUDIT_LEVEL
          Attribute ID for user action audit level.
static java.lang.String USER_ACTION_AUDIT_LEVEL_COMMAND
          Attribute value indicating that the user has the *CMD audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_CREATE
          Attribute value indicating that the user has the *CREATE audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_DELETE
          Attribute value indicating that the user has the *DELETE audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_JOB_DATA
          Attribute value indicating that the user has the *JOBDTA audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_OBJECT_MANAGEMENT
          Attribute value indicating that the user has the *OBJMGT audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_OFFICE_SERVICES
          Attribute value indicating that the user has the *OFCSRV audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_OPTICAL
          Attribute value indicating that the user has the *OPTICAL audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_PROGRAM_ADOPTION
          Attribute value indicating that the user has the *PGMADP audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_SAVE_RESTORE
          Attribute value indicating that the user has the *SAVRST audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_SECURITY
          Attribute value indicating that the user has the *SECURITY audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_SERVICE
          Attribute value indicating that the user has the *SERVICE audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_SPOOLED_FILE_DATA
          Attribute value indicating that the user has the *SPLFDTA audit value specified in the user profile.
static java.lang.String USER_ACTION_AUDIT_LEVEL_SYSTEM_MANAGEMENT
          Attribute value indicating that the user has the *SYSMGT audit value specified in the user profile.
static java.lang.String USER_ADDRESS
          Attribute ID for user address.
static java.lang.String USER_CLASS
          Attribute ID for user class name.
static java.lang.String USER_CLASS_PROGRAMMER
          Attribute value indicating that the user has a class of programmer.
static java.lang.String USER_CLASS_SECURITY_ADMINISTRATOR
          Attribute value indicating that the user has a class of security administrator.
static java.lang.String USER_CLASS_SECURITY_OFFICER
          Attribute value indicating that the user has a class of security officer.
static java.lang.String USER_CLASS_SYSTEM_OPERATOR
          Attribute value indicating that the user has a class of system operator.
static java.lang.String USER_CLASS_USER
          Attribute value indicating that the user has a class of end user.
static java.lang.String USER_ID
          Attribute ID for user ID.
static java.lang.String USER_ID_NUMBER
          Attribute ID for user ID number.
static java.lang.String USER_OPTIONS
          Attribute ID for user options.
static java.lang.String USER_OPTIONS_EXPERT
          Attribute value indicating that more detailed information is shown when the user is defining or changing the system using edit or display object authority.
static java.lang.String USER_OPTIONS_FULL_SCREEN_HELP
          Attribute value indicating that UIM online help is to be displayed on a full screen or a window.
static java.lang.String USER_OPTIONS_KEYWORDS
          Attribute value indicating that keywords are shown when a CL command is displayed.
static java.lang.String USER_OPTIONS_NO_STATUS_MESSAGE
          Attribute value indicating that status messages sent to the user are not shown.
static java.lang.String USER_OPTIONS_PRINT_COMPLETE_MESSAGE
          Attribute value indicating that a message is sent to the user when a spooled file is printed.
static java.lang.String USER_OPTIONS_ROLL_KEY
          Attribute value indicating that the opposite action from the system default for roll keys is taken.
static java.lang.String USER_OPTIONS_STATUS_MESSAGE
          Attribute value indicating that status messages sent to the user are shown.
static java.lang.String USER_PROFILE_NAME
          Attribute ID for user profile name.
static java.lang.String YES
          Attribute value for yes.
 
Constructor Summary
RUser()
          Constructs an RUser object.
RUser(AS400 system, java.lang.String name)
          Constructs an RUser object.
 
Method Summary
protected  void commitAttributeChanges(java.lang.Object[] attributeIDs, java.lang.Object[] values, int[] bidiStringTypes)
          Commits the specified attribute changes.
 void delete()
          Deletes the user.
protected  void establishConnection()
          Establishes the connection to the AS/400.
protected  void freezeProperties()
          Freezes any property changes.
 java.lang.Object getAttributeUnchangedValue(java.lang.Object attributeID, int bidiStringType)
          Returns the unchanged value of an attribute.
 java.lang.String getName()
          Returns the user profile name.
protected  boolean isBidiEnabled()
          Indicates if this resource is enabled for bidirectional character conversion.
 void refreshAttributeValues()
          Refreshes the values for all attributes.
 void setName(java.lang.String name)
          Sets the user profile name.
 
Methods inherited from class com.ibm.as400.resource.ChangeableResource
cancelAttributeChanges, commitAttributeChanges, commitAttributeChanges, fireAttributeChangesCanceled, fireAttributeChangesCommitted, fireAttributeValueChanged, fireResourceCreated, fireResourceDeleted, getAttributeUnchangedValue, getAttributeValue, getAttributeValue, hasUncommittedAttributeChanges, initializeAttributeValue, setAttributeValue, setAttributeValue
 
Methods inherited from class com.ibm.as400.resource.Resource
addActiveStatusListener, addPropertyChangeListener, addResourceListener, addVetoableChangeListener, arePropertiesFrozen, equals, fireAttributeValuesRefreshed, fireBusy, fireIdle, firePropertyChange, fireVetoableChange, getAttributeMetaData, getAttributeMetaData, getPresentation, getResourceKey, getSystem, isConnectionEstablished, removeActiveStatusListener, removePropertyChangeListener, removeResourceListener, removeVetoableChangeListener, setPresentation, setResourceKey, setSystem, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SYSTEM_VALUE

public static final java.lang.String SYSTEM_VALUE
Attribute value for system value.

YES

public static final java.lang.String YES
Attribute value for yes.

NO

public static final java.lang.String NO
Attribute value for no.

NONE

public static final java.lang.String NONE
Attribute value for none.

NO_DATE

public static final java.util.Date NO_DATE
Attribute value for no date.

ACCOUNTING_CODE

public static final java.lang.String ACCOUNTING_CODE
Attribute ID for accounting code. This identifies a String attribute, which represents the accounting code associated with this user.

ALLOW_SYNCHRONIZATION

public static final java.lang.String ALLOW_SYNCHRONIZATION
Attribute ID for allow synchronization. This identifies a Boolean attribute, which indicates whether the user's directory entry should be synchronized with directories other than the System Distribution Directory.

ASSISTANCE_LEVEL

public static final java.lang.String ASSISTANCE_LEVEL
Attribute ID for assistance level. This identifies a String attribute, which represents the user interface that the user will use. Possible values are:

ASSISTANCE_LEVEL_BASIC

public static final java.lang.String ASSISTANCE_LEVEL_BASIC
Attribute value indicating the Operational Assistant user interface.
See Also:
ASSISTANCE_LEVEL

ASSISTANCE_LEVEL_INTERMEDIATE

public static final java.lang.String ASSISTANCE_LEVEL_INTERMEDIATE
Attribute value indicating the system user interface.
See Also:
ASSISTANCE_LEVEL

ASSISTANCE_LEVEL_ADVANCED

public static final java.lang.String ASSISTANCE_LEVEL_ADVANCED
Attribute value indicating the expert system user interface.
See Also:
ASSISTANCE_LEVEL

ATTENTION_KEY_HANDLING_PROGRAM

public static final java.lang.String ATTENTION_KEY_HANDLING_PROGRAM
Attribute ID for attention key handling program. This identifies a String attribute, which represents the fully qualified integrated file system path name of the attention key handling program for this user. Possible values are:
See Also:
QSYSObjectPathName

ATTENTION_KEY_HANDLING_PROGRAM_ASSIST

public static final java.lang.String ATTENTION_KEY_HANDLING_PROGRAM_ASSIST
Attribute value indicating the Operational Assistant attention key handling program.
See Also:
ATTENTION_KEY_HANDLING_PROGRAM

BUILDING

public static final java.lang.String BUILDING
Attribute ID for building. This identifies a String attribute, which represents the building in the user's directory entry.

CC_MAIL_ADDRESS

public static final java.lang.String CC_MAIL_ADDRESS
Attribute ID for cc:Mail address. This identifies a String attribute, which represents the cc:Mail address in the user's directory entry.

CC_MAIL_COMMENT

public static final java.lang.String CC_MAIL_COMMENT
Attribute ID for cc:Mail comment. This identifies a String attribute, which represents the cc:Mail comment in the user's directory entry.

CHARACTER_CODE_SET_ID

public static final java.lang.String CHARACTER_CODE_SET_ID
Attribute ID for character code set ID. This identifies a Integer attribute, which represents the character code set ID to be used by the system for this user.

CHARACTER_IDENTIFIER_CONTROL

public static final java.lang.String CHARACTER_IDENTIFIER_CONTROL
Attribute ID for character identifier control. This identifies a String attribute, which represents the character identifier control for the user. Possible values are:

CHARACTER_IDENTIFIER_CONTROL_DEVICE_DESCRIPTION

public static final java.lang.String CHARACTER_IDENTIFIER_CONTROL_DEVICE_DESCRIPTION
Attribute value indicating the same function as on the CHRID command parameter for display files, printer files, and panel groups.
See Also:
CHARACTER_IDENTIFIER_CONTROL

CHARACTER_IDENTIFIER_CONTROL_JOB_CCSID

public static final java.lang.String CHARACTER_IDENTIFIER_CONTROL_JOB_CCSID
Attribute value indicating the same function as on the CHRID command parameter for display files, printer files, and panel groups.
See Also:
CHARACTER_IDENTIFIER_CONTROL

COMPANY

public static final java.lang.String COMPANY
Attribute ID for company. This identifies a String attribute, which represents the company in the user's directory entry.

COUNTRY_ID

public static final java.lang.String COUNTRY_ID
Attribute ID for country ID. This identifies a String attribute, which represents the country ID used by the system for this user. Possible values are:

CURRENT_LIBRARY_NAME

public static final java.lang.String CURRENT_LIBRARY_NAME
Attribute ID for current library. This identifies a String attribute, which represents the name of the user's current library. Possible values are:

CURRENT_LIBRARY_NAME_DEFAULT

public static final java.lang.String CURRENT_LIBRARY_NAME_DEFAULT
Attribute value indicating that the user does not have a current library.
See Also:
CURRENT_LIBRARY_NAME

DATE_PASSWORD_EXPIRES

public static final java.lang.String DATE_PASSWORD_EXPIRES
Attribute ID for date password expires. This identifies a read-only Date attribute, which represents the date the user's password expires. If the password is not set to expire, or is already expired, then this will be NO_DATE.

DAYS_UNTIL_PASSWORD_EXPIRES

public static final java.lang.String DAYS_UNTIL_PASSWORD_EXPIRES
Attribute ID for days until password expires. This identifies a read-only Integer attribute, which represents the number of days until the password will expire. Possible values are:

DEPARTMENT

public static final java.lang.String DEPARTMENT
Attribute ID for department. This identifies a String attribute, which represents the department in the user's directory entry.

DIGITAL_CERTIFICATE_INDICATOR

public static final java.lang.String DIGITAL_CERTIFICATE_INDICATOR
Attribute ID for digital certificate indicator. This identifies a read-only Boolean attribute, which indicates whether there are digital certificates associated with this user.

DISPLAY_SIGN_ON_INFORMATION

public static final java.lang.String DISPLAY_SIGN_ON_INFORMATION
Attribute ID for display sign-on information. This identifies a String attribute, which represents whether the sign-on information display is shown when the user signs on. Possible values are:

FAX_TELEPHONE_NUMBER

public static final java.lang.String FAX_TELEPHONE_NUMBER
Attribute ID for fax telephone number. This identifies a String attribute, which represents the fax telephone number in the user's directory entry.

FIRST_NAME

public static final java.lang.String FIRST_NAME
Attribute ID for first name. This identifies a String attribute, which represents the first name in the user's directory entry.

FULL_NAME

public static final java.lang.String FULL_NAME
Attribute ID for full name. This identifies a String attribute, which represents the full name in the user's directory entry.

GROUP_AUTHORITY

public static final java.lang.String GROUP_AUTHORITY
Attribute ID for group authority. This identifies a String attribute, which represents the authority the user's group profile has to objects the user creates. This can only be set to NONE if the user does not belong to a group. Possible values are:

GROUP_AUTHORITY_ALL

public static final java.lang.String GROUP_AUTHORITY_ALL
Attribute value indicating that the group profile has all authority to the objects the user creates.
See Also:
GROUP_AUTHORITY

GROUP_AUTHORITY_CHANGE

public static final java.lang.String GROUP_AUTHORITY_CHANGE
Attribute value indicating that the group profile has change authority to the objects the user creates.
See Also:
GROUP_AUTHORITY

GROUP_AUTHORITY_USE

public static final java.lang.String GROUP_AUTHORITY_USE
Attribute value indicating that the group profile has use authority to the objects the user creates.
See Also:
GROUP_AUTHORITY

GROUP_AUTHORITY_EXCLUDE

public static final java.lang.String GROUP_AUTHORITY_EXCLUDE
Attribute value indicating that the group profile has exclude authority to the objects the user creates.
See Also:
GROUP_AUTHORITY

GROUP_AUTHORITY_TYPE

public static final java.lang.String GROUP_AUTHORITY_TYPE
Attribute ID for group authority type. This identifies a String attribute, which represents the type of authority the user's group has to objects the user creates. Possible values are:

GROUP_AUTHORITY_TYPE_PRIVATE

public static final java.lang.String GROUP_AUTHORITY_TYPE_PRIVATE
Attribute value indicating that the group profile has a private authority to the objects the user creates, or the user does not have a group profile.
See Also:
GROUP_AUTHORITY_TYPE

GROUP_AUTHORITY_TYPE_PGP

public static final java.lang.String GROUP_AUTHORITY_TYPE_PGP
Attribute value indicating that the group profile will be the primary group for objects the user creates.
See Also:
GROUP_AUTHORITY_TYPE

GROUP_ID_NUMBER

public static final java.lang.String GROUP_ID_NUMBER
Attribute ID for group ID number. This identifies a Long attribute, which represents the group ID number for the user profile. The group ID number is used to identify the user when it is a group and a member of the group is using the integrated file system. This will be 0 if the user does not have a group ID.

GROUP_MEMBER_INDICATOR

public static final java.lang.String GROUP_MEMBER_INDICATOR
Attribute ID for group member indicator. This identifies a read-only Boolean attribute, which indicates whether this user is a group that has members.

GROUP_PROFILE_NAME

public static final java.lang.String GROUP_PROFILE_NAME
Attribute ID for group profile name. This identifies a String attribute, which represents the name of the group profile. Possible values are:

HIGHEST_SCHEDULING_PRIORITY

public static final java.lang.String HIGHEST_SCHEDULING_PRIORITY
Attribute ID for highest scheduling priority. This identifies a Integer attribute, which represents the highest scheduling priority the user is allowed to have for each job submitted to the system. The priority is a value from 0 to 9, with 0 being the highest priority.

HOME_DIRECTORY

public static final java.lang.String HOME_DIRECTORY
Attribute ID for home directory. This identifies a String attribute, which represents the home directory for this user profile.

INDIRECT_USER

public static final java.lang.String INDIRECT_USER
Attribute ID for indirect user. This identifies a Boolean attribute, which indicates whether the user is an indirect user as specified in the user's directory entry.

INITIAL_MENU

public static final java.lang.String INITIAL_MENU
Attribute ID for initial menu. This identifies a String attribute, which represents the fully qualified integrated file system path name of the initial menu for the user. Possible values are:
See Also:
QSYSObjectPathName

INITIAL_MENU_SIGNOFF

public static final java.lang.String INITIAL_MENU_SIGNOFF
Attribute value for initial menu signoff.
See Also:
INITIAL_MENU

INITIAL_PROGRAM

public static final java.lang.String INITIAL_PROGRAM
Attribute ID for initial program. This identifies a String attribute, which represents the fully qualified integrated file system path name of the initial program for the user. Possible values are:
See Also:
QSYSObjectPathName

JOB_DESCRIPTION

public static final java.lang.String JOB_DESCRIPTION
Attribute ID for job description. This identifies a String attribute, which represents the fully qualified integrated file system path name of the job description used for jobs that start through subsystem work station entries.
See Also:
QSYSObjectPathName

JOB_TITLE

public static final java.lang.String JOB_TITLE
Attribute ID for job title. This identifies a String attribute, which represents the job title in the user's directory entry.

KEYBOARD_BUFFERING

public static final java.lang.String KEYBOARD_BUFFERING
Attribute ID for keyboard buffering. This identifies a String attribute, which represents the keyboard buffering value that is used when a job is initialized for this user. Possible values are:

KEYBOARD_BUFFERING_TYPE_AHEAD

public static final java.lang.String KEYBOARD_BUFFERING_TYPE_AHEAD
Attribute value indicating the type-ahead option is on, but the attention-key buffering options is not.
See Also:
KEYBOARD_BUFFERING

LANGUAGE_ID

public static final java.lang.String LANGUAGE_ID
Attribute ID for language ID. This identifies a String attribute, which represents the language ID used by the system for this user. Possible values are:

LAST_NAME

public static final java.lang.String LAST_NAME
Attribute ID for last name. This identifies a String attribute, which represents the last name in the user's directory entry.

LIMIT_CAPABILITIES

public static final java.lang.String LIMIT_CAPABILITIES
Attribute ID for limit capabilities. This identifies a String attribute, which indicates whether the user has limited capabilites. Possible values are:

LIMIT_CAPABILITIES_PARTIAL

public static final java.lang.String LIMIT_CAPABILITIES_PARTIAL
Attribute value indicating the user cannot change the initial program or current library.
See Also:
LIMIT_CAPABILITIES

LIMIT_DEVICE_SESSIONS

public static final java.lang.String LIMIT_DEVICE_SESSIONS
Attribute ID for limit device sessions. This identifies a String attribute, which indicates whether the user is limited to one device session. Possible values are:

LOCALE_JOB_ATTRIBUTES

public static final java.lang.String LOCALE_JOB_ATTRIBUTES
Attribute ID for locale job attributes. This identifies a String array attribute, which represents a list of attributes which are set from the locale path name at the time a job is started for this user. Possible values for the elements of this array are:

LOCALE_JOB_ATTRIBUTES_CCSID

public static final java.lang.String LOCALE_JOB_ATTRIBUTES_CCSID
Attribute value indicating that the coded character set identifier is set from the locale path name at the time a job is started for this user profile.
See Also:
LOCALE_JOB_ATTRIBUTES

LOCALE_JOB_ATTRIBUTES_DATE_FORMAT

public static final java.lang.String LOCALE_JOB_ATTRIBUTES_DATE_FORMAT
Attribute value indicating that the date format is set from the locale path name at the time a job is started for this user profile.
See Also:
LOCALE_JOB_ATTRIBUTES

LOCALE_JOB_ATTRIBUTES_DATE_SEPARATOR

public static final java.lang.String LOCALE_JOB_ATTRIBUTES_DATE_SEPARATOR
Attribute value indicating that the date separator is set from the locale path name at the time a job is started for this user profile.
See Also:
LOCALE_JOB_ATTRIBUTES

LOCALE_JOB_ATTRIBUTES_SORT_SEQUENCE

public static final java.lang.String LOCALE_JOB_ATTRIBUTES_SORT_SEQUENCE
Attribute value indicating that the sort sequence is set from the locale path name at the time a job is started for this user profile.
See Also:
LOCALE_JOB_ATTRIBUTES

LOCALE_JOB_ATTRIBUTES_TIME_SEPARATOR

public static final java.lang.String LOCALE_JOB_ATTRIBUTES_TIME_SEPARATOR
Attribute value indicating that the time separator is set from the locale path name at the time a job is started for this user profile.
See Also:
LOCALE_JOB_ATTRIBUTES

LOCALE_JOB_ATTRIBUTES_DECIMAL_FORMAT

public static final java.lang.String LOCALE_JOB_ATTRIBUTES_DECIMAL_FORMAT
Attribute value indicating that the decimal format is set from the locale path name at the time a job is started for this user profile.
See Also:
LOCALE_JOB_ATTRIBUTES

LOCALE_PATH_NAME

public static final java.lang.String LOCALE_PATH_NAME
Attribute ID for locale path name. This identifies a String attribute, which represents the locale path name that is assigned to the user profile when a job is started. Possible values are:

LOCALE_PATH_NAME_C

public static final java.lang.String LOCALE_PATH_NAME_C
Attribute value indicating the C locale path name.
See Also:
LOCALE_PATH_NAME

LOCALE_PATH_NAME_POSIX

public static final java.lang.String LOCALE_PATH_NAME_POSIX
Attribute value indicating the POSIX locale path name.
See Also:
LOCALE_PATH_NAME

LOCAL_DATA_INDICATOR

public static final java.lang.String LOCAL_DATA_INDICATOR
Attribute ID for local data indicator. This identifies a read-only String attribute, which indicates where this user was created. Possible values are:

LOCAL_DATA_INDICATOR_LOCAL

public static final java.lang.String LOCAL_DATA_INDICATOR_LOCAL
Attribute value indicating that the user was created on this system or if a remote user was created on this system.
See Also:
LOCAL_DATA_INDICATOR

LOCAL_DATA_INDICATOR_SHADOWED

public static final java.lang.String LOCAL_DATA_INDICATOR_SHADOWED
Attribute value indicating that the user was shadowed from another system.
See Also:
LOCAL_DATA_INDICATOR

LOCATION

public static final java.lang.String LOCATION
Attribute ID for location. This identifies a String attribute, which represents the location in the user's directory entry.

MAILING_ADDRESS_LINE_1

public static final java.lang.String MAILING_ADDRESS_LINE_1
Attribute ID for mailing address line 1. This identifies a String attribute, which represents the mailing address line 1 in the user's directory entry.

MAILING_ADDRESS_LINE_2

public static final java.lang.String MAILING_ADDRESS_LINE_2
Attribute ID for mailing address line 2. This identifies a String attribute, which represents the mailing address line 2 in the user's directory entry.

MAILING_ADDRESS_LINE_3

public static final java.lang.String MAILING_ADDRESS_LINE_3
Attribute ID for mailing address line 3. This identifies a String attribute, which represents the mailing address line 3 in the user's directory entry.

MAILING_ADDRESS_LINE_4

public static final java.lang.String MAILING_ADDRESS_LINE_4
Attribute ID for mailing address line 4. This identifies a String attribute, which represents the mailing address line 4 in the user's directory entry.

MAIL_NOTIFICATION

public static final java.lang.String MAIL_NOTIFICATION
Attribute ID for mail notification. This identifies a String attribute, which indicates whether the user is notified of the arrival of mail. This is part of the user's directory entry. Possible values are:

MAIL_NOTIFICATION_SPECIFIC

public static final java.lang.String MAIL_NOTIFICATION_SPECIFIC
Attribute value indicating that the user is notified of the arrival of specific types of mail.
See Also:
MAIL_NOTIFICATION

MAIL_NOTIFICATION_ALL

public static final java.lang.String MAIL_NOTIFICATION_ALL
Attribute value indicating that the user is notified of the arrival of all types of mail.
See Also:
MAIL_NOTIFICATION

MAIL_NOTIFICATION_NONE

public static final java.lang.String MAIL_NOTIFICATION_NONE
Attribute value indicating that the user is not notified of the arrival of mail.
See Also:
MAIL_NOTIFICATION

MANAGER_CODE

public static final java.lang.String MANAGER_CODE
Attribute ID for manager code. This identifies a read-only Boolean attribute, which represents the manager code in the user's directory entry.

MAXIMUM_ALLOWED_STORAGE

public static final java.lang.String MAXIMUM_ALLOWED_STORAGE
Attribute ID for maximum allowed storage. This identifies a Integer attribute, which represents the maximum amount of auxiliary storage (in kilobytes) that can be assigned to store permanant objects owned by the user. If the user does not have a maximum amount of allowed storage, this will be -1.

MESSAGE_NOTIFICATION

public static final java.lang.String MESSAGE_NOTIFICATION
Attribute ID for message notification. This identifies a Boolean attribute, which indicates whether the user is notified of the arrival of messages. This is part of the user's directory entry.

MESSAGE_QUEUE_DELIVERY_METHOD

public static final java.lang.String MESSAGE_QUEUE_DELIVERY_METHOD
Attribute ID for message queue delivery method. This identifies a String attribute, which represents how the messages are delivered to the message queue used by the user. Possible values are:

MESSAGE_QUEUE_DELIVERY_METHOD_BREAK

public static final java.lang.String MESSAGE_QUEUE_DELIVERY_METHOD_BREAK
Attribute value indicating that the job to which the message queue is assigned is interrupted when a message arrives on the message queue.
See Also:
MESSAGE_QUEUE_DELIVERY_METHOD

MESSAGE_QUEUE_DELIVERY_METHOD_DEFAULT

public static final java.lang.String MESSAGE_QUEUE_DELIVERY_METHOD_DEFAULT
Attribute value indicating that messages requiring replies are answered with their default reply.
See Also:
MESSAGE_QUEUE_DELIVERY_METHOD

MESSAGE_QUEUE_DELIVERY_METHOD_HOLD

public static final java.lang.String MESSAGE_QUEUE_DELIVERY_METHOD_HOLD
Attribute value indicating that the messages are held in the message queue until they are requested by the user or program.
See Also:
MESSAGE_QUEUE_DELIVERY_METHOD

MESSAGE_QUEUE_DELIVERY_METHOD_NOTIFY

public static final java.lang.String MESSAGE_QUEUE_DELIVERY_METHOD_NOTIFY
Attribute value indicating that the job to which the message queue is assigned is notified when a message arrives on the message queue.
See Also:
MESSAGE_QUEUE_DELIVERY_METHOD

MESSAGE_QUEUE

public static final java.lang.String MESSAGE_QUEUE
Attribute ID for message queue. This identifies a String attribute, which represents the fully qualified integrated file system path name of the message queue that is used by this user.
See Also:
QSYSObjectPathName

MESSAGE_QUEUE_SEVERITY

public static final java.lang.String MESSAGE_QUEUE_SEVERITY
Attribute ID for message queue severity. This identifies an Integer attribute, which represents the lowest severity that a message can have and still be delivered to a user in break or notify mode.

MIDDLE_NAME

public static final java.lang.String MIDDLE_NAME
Attribute ID for middle name. This identifies a String attribute, which represents the middle name in the user's directory entry.

NETWORK_USER_ID

public static final java.lang.String NETWORK_USER_ID
Attribute ID for network user ID. This identifies a String attribute, which represents the network user ID in the user's directory entry.

NO_PASSWORD_INDICATOR

public static final java.lang.String NO_PASSWORD_INDICATOR
Attribute ID for no password indicator. This identifies a read-only Boolean attribute, which indicates whether there is no password.

OBJECT_AUDITING_VALUE

public static final java.lang.String OBJECT_AUDITING_VALUE
Attribute ID for object auditing value. This identifies a String attribute, which represents the user's object auditing value. Possible values are:

OBJECT_AUDITING_VALUE_CHANGE

public static final java.lang.String OBJECT_AUDITING_VALUE_CHANGE
Attribute value indicating that object changes are audited for the user if the object's auditing value is *USRPRF.
See Also:
OBJECT_AUDITING_VALUE

OBJECT_AUDITING_VALUE_ALL

public static final java.lang.String OBJECT_AUDITING_VALUE_ALL
Attribute value indicating that object read and change operations are audited for the user if the object's auditing value is *USRPRF.
See Also:
OBJECT_AUDITING_VALUE

OFFICE

public static final java.lang.String OFFICE
Attribute ID for office. This identifies a String attribute, which represents the office in the user's directory entry.

OR_NAME

public static final java.lang.String OR_NAME
Attribute ID for O/R name. This identifies a read-only String attribute, which represents the paper representation of the X.400 O/R name in the user's directory entry.

OUTPUT_QUEUE

public static final java.lang.String OUTPUT_QUEUE
Attribute ID for output queue. This identifies a String attribute, which represents the fully qualified integrated file system path name of the output queue that is used by this user. Possible values are:
See Also:
QSYSObjectPathName

OUTPUT_QUEUE_WORK_STATION

public static final java.lang.String OUTPUT_QUEUE_WORK_STATION
Attribute value indicating that the output queue assigned to the user's work station is used.
See Also:
OUTPUT_QUEUE

OUTPUT_QUEUE_DEVICE

public static final java.lang.String OUTPUT_QUEUE_DEVICE
Attribute value indicating that an output queue with the same name as the device specified in the printer device parameter is used.
See Also:
OUTPUT_QUEUE

OWNER

public static final java.lang.String OWNER
Attribute ID for owner. This identifies a String attribute, which indicates who is to own objects created by this user. Possible values are:

OWNER_USER_PROFILE

public static final java.lang.String OWNER_USER_PROFILE
Attribute value indicating that the user owns any objects the user creates. If the user does not have a group profile, the field contains this value.
See Also:
OWNER

OWNER_GROUP_PROFILE

public static final java.lang.String OWNER_GROUP_PROFILE
Attribute value indicating that the user's group profile owns any objects the user creates.
See Also:
OWNER

PASSWORD_CHANGE_DATE

public static final java.lang.String PASSWORD_CHANGE_DATE
Attribute ID for password change date. This identifies a read-only Date attribute, which represents the date the user's password was last changed. The Date value is converted using the default Java locale.

PASSWORD_EXPIRATION_INTERVAL

public static final java.lang.String PASSWORD_EXPIRATION_INTERVAL
Attribute ID for password expiration interval. This identifies a Integer attribute, which represents the number of days the user's password can remain active before it must be changed. Possible values are:

PREFERRED_NAME

public static final java.lang.String PREFERRED_NAME
Attribute ID for preferred name. This identifies a String attribute, which represents the preferred name in the user's directory entry.

PREVIOUS_SIGN_ON

public static final java.lang.String PREVIOUS_SIGN_ON
Attribute ID for previous sign-on. This identifies a read-only Date attribute, which represents the date and time the user last signed on. If the user has never signed on, then this will be NO_DATE. The Date value is converted using the default Java locale.

PRINT_COVER_PAGE

public static final java.lang.String PRINT_COVER_PAGE
Attribute ID for print cover page. This identifies a Boolean attribute, which indicates whether to print a cover page as specified in the user's directory entry.

PRINT_DEVICE

public static final java.lang.String PRINT_DEVICE
Attribute ID for print device. This identifies a String attribute, which represents the printer used to print for this user. Possible values are:

PRINT_DEVICE_WORK_STATION

public static final java.lang.String PRINT_DEVICE_WORK_STATION
Attribute value indicating that the printer assigned to the user's work station is used.
See Also:
PRINT_DEVICE

PRIORITY_MAIL_NOTIFICATION

public static final java.lang.String PRIORITY_MAIL_NOTIFICATION
Attribute ID for priority mail notification. This identifies a Boolean attribute, which indicates whether the user is notified of the arrival of priority, private, and important mail. This is part of the user's directory entry.

SET_PASSWORD_TO_EXPIRE

public static final java.lang.String SET_PASSWORD_TO_EXPIRE
Attribute ID for set password to expire. This identifies a Boolean attribute, which indicates whether the user's password is set to expire, requiring the user to change the password when signing on.

SIGN_ON_ATTEMPTS_NOT_VALID

public static final java.lang.String SIGN_ON_ATTEMPTS_NOT_VALID
Attribute ID for sign-on attempts not valid. This identifies a read-only Integer attribute, which represents the number of sign-on attempts that were not valid since the last successful sign-on.

SMTP_DOMAIN

public static final java.lang.String SMTP_DOMAIN
Attribute ID for SMTP domain. This identifies a read-only String attribute, which represents the SMTP domain as specified in the user's directory entry.

SMTP_ROUTE

public static final java.lang.String SMTP_ROUTE
Attribute ID for SMTP route. This identifies a read-only String attribute, which represents the SMTP route as specified in the user's directory entry.

SMTP_USER_ID

public static final java.lang.String SMTP_USER_ID
Attribute ID for SMTP user ID. This identifies a read-only String attribute, which represents the SMTP user ID as specified in the user's directory entry.

SORT_SEQUENCE_TABLE

public static final java.lang.String SORT_SEQUENCE_TABLE
Attribute ID for sort sequence table. This identifies a String attribute, which represents the fully qualified integrated file system path name of the sort sequence table used for string comparisons. Possible values are:
See Also:
QSYSObjectPathName

SORT_SEQUENCE_TABLE_HEX

public static final java.lang.String SORT_SEQUENCE_TABLE_HEX
Attribute value indicating that the hexadecimal values of the characters are used to determine the sort sequence.
See Also:
SORT_SEQUENCE_TABLE

SORT_SEQUENCE_TABLE_UNIQUE

public static final java.lang.String SORT_SEQUENCE_TABLE_UNIQUE
Attribute value indicating that a unique-weight sort table associated with the language specified
See Also:
SORT_SEQUENCE_TABLE

SORT_SEQUENCE_TABLE_SHARED

public static final java.lang.String SORT_SEQUENCE_TABLE_SHARED
Attribute value indicating that a shared-weight sort table associated with the language specified
See Also:
SORT_SEQUENCE_TABLE

SPECIAL_AUTHORITIES

public static final java.lang.String SPECIAL_AUTHORITIES
Attribute ID for special authorities. This identifies a String array attribute, which represents a list of special authorities that the user has. Possible values for the elements of this array are:

SPECIAL_AUTHORITIES_ALL_OBJECT

public static final java.lang.String SPECIAL_AUTHORITIES_ALL_OBJECT
Attribute value indicating all object special authorities.
See Also:
SPECIAL_AUTHORITIES

SPECIAL_AUTHORITIES_SECURITY_ADMINISTRATOR

public static final java.lang.String SPECIAL_AUTHORITIES_SECURITY_ADMINISTRATOR
Attribute value indicating security administrator special authorities.
See Also:
SPECIAL_AUTHORITIES

SPECIAL_AUTHORITIES_JOB_CONTROL

public static final java.lang.String SPECIAL_AUTHORITIES_JOB_CONTROL
Attribute value indicating job control special authorities.
See Also:
SPECIAL_AUTHORITIES

SPECIAL_AUTHORITIES_SPOOL_CONTROL

public static final java.lang.String SPECIAL_AUTHORITIES_SPOOL_CONTROL
Attribute value indicating spool control special authorities.
See Also:
SPECIAL_AUTHORITIES

SPECIAL_AUTHORITIES_SAVE_SYSTEM

public static final java.lang.String SPECIAL_AUTHORITIES_SAVE_SYSTEM
Attribute value indicating save system special authorities.
See Also:
SPECIAL_AUTHORITIES

SPECIAL_AUTHORITIES_SERVICE

public static final java.lang.String SPECIAL_AUTHORITIES_SERVICE
Attribute value indicating service special authorities.
See Also:
SPECIAL_AUTHORITIES

SPECIAL_AUTHORITIES_AUDIT

public static final java.lang.String SPECIAL_AUTHORITIES_AUDIT
Attribute value indicating audit special authorities.
See Also:
SPECIAL_AUTHORITIES

SPECIAL_AUTHORITIES_IO_SYSTEM_CONFIGURATION

public static final java.lang.String SPECIAL_AUTHORITIES_IO_SYSTEM_CONFIGURATION
Attribute value indicating I/O system configuration special authorities.
See Also:
SPECIAL_AUTHORITIES

SPECIAL_ENVIRONMENT

public static final java.lang.String SPECIAL_ENVIRONMENT
Attribute ID for special environment. This identifies a String attribute, which represents the special environment the user operates in after signing on. Possible values are:

SPECIAL_ENVIRONMENT_SYSTEM_36

public static final java.lang.String SPECIAL_ENVIRONMENT_SYSTEM_36
Attribute value indicating that the user operates in the System/36 environment.
See Also:
SPECIAL_ENVIRONMENT

STATUS

public static final java.lang.String STATUS
Attribute ID for status. This identifies a String attribute, which represents the status of the user profile. Possible values are:

STATUS_ENABLED

public static final java.lang.String STATUS_ENABLED
Attribute value indicating that the user profile is enabled.
See Also:
STATUS

STATUS_NOT_ENABLED

public static final java.lang.String STATUS_NOT_ENABLED
Attribute value indicating that the user profile is not enabled.
See Also:
STATUS

STORAGE_USED

public static final java.lang.String STORAGE_USED
Attribute ID for storage used. This identifies a read-only Integer attribute, which represents the amount of auxiliary storage (in kilobytes) occupied by this user's owned objects.

SUPPLEMENTAL_GROUPS

public static final java.lang.String SUPPLEMENTAL_GROUPS
Attribute ID for supplemental groups. This identifies a String array attribute, which represents the supplemental groups for the user profile.

TELEPHONE_NUMBER_1

public static final java.lang.String TELEPHONE_NUMBER_1
Attribute ID for telephone number 1. This identifies a String attribute, which represents the telephone number 1 as specified in the user's directory entry.

TELEPHONE_NUMBER_2

public static final java.lang.String TELEPHONE_NUMBER_2
Attribute ID for telephone number 2. This identifies a String attribute, which represents the telephone number 2 as specified in the user's directory entry.

TEXT

public static final java.lang.String TEXT
Attribute ID for text. This identifies a String attribute, which represents the text as specified in the user's directory entry.

TEXT_DESCRIPTION

public static final java.lang.String TEXT_DESCRIPTION
Attribute ID for text description. This identifies a String attribute, which represents the descriptive text for the user profile.

USER_ACTION_AUDIT_LEVEL

public static final java.lang.String USER_ACTION_AUDIT_LEVEL
Attribute ID for user action audit level. This identifies a String array attribute, which represents a list of action audit levels for the user. Possible values for the elements of this array are:

USER_ACTION_AUDIT_LEVEL_COMMAND

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_COMMAND
Attribute value indicating that the user has the *CMD audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_CREATE

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_CREATE
Attribute value indicating that the user has the *CREATE audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_DELETE

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_DELETE
Attribute value indicating that the user has the *DELETE audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_JOB_DATA

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_JOB_DATA
Attribute value indicating that the user has the *JOBDTA audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_OBJECT_MANAGEMENT

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_OBJECT_MANAGEMENT
Attribute value indicating that the user has the *OBJMGT audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_OFFICE_SERVICES

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_OFFICE_SERVICES
Attribute value indicating that the user has the *OFCSRV audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_OPTICAL

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_OPTICAL
Attribute value indicating that the user has the *OPTICAL audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_PROGRAM_ADOPTION

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_PROGRAM_ADOPTION
Attribute value indicating that the user has the *PGMADP audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_SAVE_RESTORE

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_SAVE_RESTORE
Attribute value indicating that the user has the *SAVRST audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_SECURITY

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_SECURITY
Attribute value indicating that the user has the *SECURITY audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_SERVICE

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_SERVICE
Attribute value indicating that the user has the *SERVICE audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_SPOOLED_FILE_DATA

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_SPOOLED_FILE_DATA
Attribute value indicating that the user has the *SPLFDTA audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ACTION_AUDIT_LEVEL_SYSTEM_MANAGEMENT

public static final java.lang.String USER_ACTION_AUDIT_LEVEL_SYSTEM_MANAGEMENT
Attribute value indicating that the user has the *SYSMGT audit value specified in the user profile.
See Also:
USER_ACTION_AUDIT_LEVEL

USER_ADDRESS

public static final java.lang.String USER_ADDRESS
Attribute ID for user address. This identifies a read-only String attribute, which represents the user address as specified in the user's directory entry.

USER_CLASS

public static final java.lang.String USER_CLASS
Attribute ID for user class name. This identifies a String attribute, which represents the user class name. Possible values are:

USER_CLASS_SECURITY_OFFICER

public static final java.lang.String USER_CLASS_SECURITY_OFFICER
Attribute value indicating that the user has a class of security officer.
See Also:
USER_CLASS

USER_CLASS_SECURITY_ADMINISTRATOR

public static final java.lang.String USER_CLASS_SECURITY_ADMINISTRATOR
Attribute value indicating that the user has a class of security administrator.
See Also:
USER_CLASS

USER_CLASS_PROGRAMMER

public static final java.lang.String USER_CLASS_PROGRAMMER
Attribute value indicating that the user has a class of programmer.
See Also:
USER_CLASS

USER_CLASS_SYSTEM_OPERATOR

public static final java.lang.String USER_CLASS_SYSTEM_OPERATOR
Attribute value indicating that the user has a class of system operator.
See Also:
USER_CLASS

USER_CLASS_USER

public static final java.lang.String USER_CLASS_USER
Attribute value indicating that the user has a class of end user.
See Also:
USER_CLASS

USER_ID

public static final java.lang.String USER_ID
Attribute ID for user ID. This identifies a read-only String attribute, which represents the user ID as specified in the user's directory entry.

USER_ID_NUMBER

public static final java.lang.String USER_ID_NUMBER
Attribute ID for user ID number. This identifies a Integer attribute, which represents the user ID number for the user profile. This is used to identify the user when using the integrated file system.

USER_OPTIONS

public static final java.lang.String USER_OPTIONS
Attribute ID for user options. This identifies a String array attribute, which represents a list of options for users to customize their environment. Possible values for the elements of this array are:

USER_OPTIONS_KEYWORDS

public static final java.lang.String USER_OPTIONS_KEYWORDS
Attribute value indicating that keywords are shown when a CL command is displayed.
See Also:
USER_OPTIONS

USER_OPTIONS_EXPERT

public static final java.lang.String USER_OPTIONS_EXPERT
Attribute value indicating that more detailed information is shown when the user is defining or changing the system using edit or display object authority.
See Also:
USER_OPTIONS

USER_OPTIONS_FULL_SCREEN_HELP

public static final java.lang.String USER_OPTIONS_FULL_SCREEN_HELP
Attribute value indicating that UIM online help is to be displayed on a full screen or a window.
See Also:
USER_OPTIONS

USER_OPTIONS_STATUS_MESSAGE

public static final java.lang.String USER_OPTIONS_STATUS_MESSAGE
Attribute value indicating that status messages sent to the user are shown.
See Also:
USER_OPTIONS

USER_OPTIONS_NO_STATUS_MESSAGE

public static final java.lang.String USER_OPTIONS_NO_STATUS_MESSAGE
Attribute value indicating that status messages sent to the user are not shown.
See Also:
USER_OPTIONS

USER_OPTIONS_ROLL_KEY

public static final java.lang.String USER_OPTIONS_ROLL_KEY
Attribute value indicating that the opposite action from the system default for roll keys is taken.
See Also:
USER_OPTIONS

USER_OPTIONS_PRINT_COMPLETE_MESSAGE

public static final java.lang.String USER_OPTIONS_PRINT_COMPLETE_MESSAGE
Attribute value indicating that a message is sent to the user when a spooled file is printed.
See Also:
USER_OPTIONS

USER_PROFILE_NAME

public static final java.lang.String USER_PROFILE_NAME
Attribute ID for user profile name. This identifies a read-only String attribute, which represents the name of the user profile.
Constructor Detail

RUser

public RUser()
Constructs an RUser object.

RUser

public RUser(AS400 system,
             java.lang.String name)
Constructs an RUser object.
Parameters:
system - The system.
name - The user profile name.
Method Detail

commitAttributeChanges

protected void commitAttributeChanges(java.lang.Object[] attributeIDs,
                                      java.lang.Object[] values,
                                      int[] bidiStringTypes)
                               throws ResourceException
Commits the specified attribute changes.
Overrides:
commitAttributeChanges in class ChangeableResource
Parameters:
attributeIDs - The attribute IDs for the specified attribute changes.
values - The specified attribute changes
bidiStringTypes - The bidi string types as defined by the CDRA (Character Data Representataion Architecture). See BidiStringType for more information and valid values.
Throws:
ResourceException - If an error occurs.

delete

public void delete()
            throws ResourceException
Deletes the user.
Throws:
ResourceException - If an error occurs.

establishConnection

protected void establishConnection()
                            throws ResourceException
Establishes the connection to the AS/400.

The method is called by the resource framework automatically when the connection needs to be established.

Overrides:
establishConnection in class Resource
Throws:
ResourceException - If an error occurs.

freezeProperties

protected void freezeProperties()
                         throws ResourceException
Freezes any property changes. After this is called, property changes should not be made. Properties are not the same thing as attributes. Properties are basic pieces of information which must be set to make the object usable, such as the system and the name.

The method is called by the resource framework automatically when the properties need to be frozen.

Overrides:
freezeProperties in class Resource
Throws:
ResourceException - If an error occurs.

getAttributeUnchangedValue

public java.lang.Object getAttributeUnchangedValue(java.lang.Object attributeID,
                                                   int bidiStringType)
                                            throws ResourceException
Returns the unchanged value of an attribute. If the attribute value has an uncommitted change, this returns the unchanged value. If the attribute value does not have an uncommitted change, this returns the same value as getAttributeValue().
Overrides:
getAttributeUnchangedValue in class ChangeableResource
Parameters:
attributeID - Identifies the attribute.
bidiStringType - The bidi string type as defined by the CDRA (Character Data Representataion Architecture). See BidiStringType for more information and valid values.
Returns:
The attribute value, or null if the attribute value is not available.
Throws:
ResourceException - If an error occurs.

getName

public java.lang.String getName()
Returns the user profile name.
Returns:
The user profile name.

isBidiEnabled

protected boolean isBidiEnabled()
Indicates if this resource is enabled for bidirectional character conversion. This always returns true.
Overrides:
isBidiEnabled in class Resource
Returns:
Always true.

refreshAttributeValues

public void refreshAttributeValues()
                            throws ResourceException
Refreshes the values for all attributes. This does not cancel uncommitted changes. This method fires an attributeValuesRefreshed() ResourceEvent.
Overrides:
refreshAttributeValues in class ChangeableResource
Throws:
ResourceException - If an error occurs.

setName

public void setName(java.lang.String name)
             throws java.beans.PropertyVetoException
Sets the user profile name. This does not change the user profile on the AS/400. Instead, it changes the user profile to which this object references. This cannot be changed if the object has established a connection to the AS/400.
Parameters:
name - The user profile name.
Throws:
java.beans.PropertyVetoException - If the property change is vetoed.