com.tivoli.twg.engine
Class GetUserAccountInfoCmd

java.lang.Object
  extended bycom.tivoli.twg.libs.Command
      extended bycom.tivoli.twg.engine.GetUserAccountInfoCmd

public class GetUserAccountInfoCmd
extends Command

Command class for requesting basic user account information: requires user-admin authority.


Field Summary
static java.lang.String ALL_DOMAINS
           
static java.lang.String DEFAULT_DOMAIN
           
 
Fields inherited from class com.tivoli.twg.libs.Command
CMD_SENDER_FLAG, CMDRET_CREATE_CMDPKT_FAILED, CMDRET_ENCRYPT_FAIL, CMDRET_ENQUEUE_LOCAL_FAILED, CMDRET_INVALID_DEST_ADDRESS, CMDRET_NO_LOCAL_SVCNODE_IMPL, CMDRET_SECURE_FAIL, CMDRET_SEND_BUFFER_FAILED, CMDRET_SEND_FAILED, CMDRET_SEND_TIMEOUT, CMDRET_SERVICEFAILED, CMDRET_SESS_DISABLED_LCL, CMDRET_SESS_DISABLED_RMT, CMDRET_SESS_UNAVAIL_LCL, CMDRET_SESS_UNAVAIL_RMT, CMDRET_SESS_WAIT_DONE, CMDRET_SESS_WAIT_EXPIRED, CMDRET_SESS_WAITING, COMMAND_TYPE_INPUT, COMMAND_TYPE_OUTPUT, DEFAULT_CMD_TIMEOUT, ENQUEUE_FAILED_COPYDATA, ENQUEUE_FAILED_NO_DESTPATH, ENQUEUE_FAILED_NO_PROCESS_HANDLE, ENQUEUE_FAILED_NO_SVC_NODE_HANDLE, ENQUEUE_FAILED_SECURITY, ENQUEUE_GENERAL_FAILURE, JNI_BUFFER_NULL, JNI_ENTRY_POINT_NOT_LOADED, JNI_HANDLE_NULL, JNI_INITIALIZE_FAILED, RMI_LOOKUP_ERROR, SESSION_NONE, SESSION_PREFERRED, SESSION_REQUIRED
 
Constructor Summary
GetUserAccountInfoCmd()
          Constructor for command
GetUserAccountInfoCmd(java.lang.String dom)
          Constructor for command - include domain name to request full account info
GetUserAccountInfoCmd(java.lang.String dom, boolean getNativeUnauthorizedUsers)
           
 
Method Summary
 TWGStringArray getAllAccountDescriptions()
          Get ordered list of descriptions for all accounts (native active, inactive, and non-native)
 TWGStringArray getAllAccountDomains()
          Get list of all account domains, with default domain first
 TWGStringArray getAllAccountFullNames()
          Get ordered list of full-names for all accounts (native active, inactive, and non-native)
 TWGStringArray getAllAccounts()
          Get ordered list of all accounts (native active, inactive, and non-native)
 TWGBooleanArray getAllAccountSuperUserFlags()
          Get ordered list of super-user flags for all accounts (native active, inactive, and non-native)
 StringValueSet getAllInactiveNativeIDs()
          Get list of all inactive native user-IDs
 StringValueSet getAllInitializedIDs()
          Get list of all initialized user-IDs
 StringValueSet getAllNativeIDs()
          Get list of all approved native user-IDs
 StringValueSet getAllNonNativeIDs()
          Get list of all non-native user-IDs
 StringValueSet getAllUnrevokableNativeIDs()
          Get list of all approved and unrevokable native user-IDs
 LongValueSet getInvalidTWGUserOIDs()
          Get list of all invalid TWGUser object OIDs
 
Methods inherited from class com.tivoli.twg.libs.Command
AddInputParm, AddInputParm, AddObjectAsInputParm, AddObjectAsOutputParm, AddOutputParm, AddOutputParm, addToDebugStrings, AllocateBuffer, AttachInputParm, AttachOutputParm, CmdId, CommandCode, commandCodeDebugString, CommandComplete, CompressObject, debugPrint, DecompressObject, DestinationAddress, DetachInputParm, DetachOutputParm, FreeBuffer, FreeInputsAfterSend, getCmdType, GetObjectFromInputParm, GetObjectFromOutputParm, getSenderServiceNode, hexDump, InputParm, InputParm, InputParmLength, IsFlatInputBuffer, IsFlatOutputBuffer, IsPostponedReply, MakeFlatInputBuffer, MakeFlatOutputBuffer, NumInputParms, NumOutputParms, OutputParm, OutputParm, OutputParmLength, Postpo neReply, ResetIndex, ResetInput, ResetOutput, ReturnAddress, ReturnCode, ReturnCodeToString, RootDestinationAddress, RootReturnAddress, SessionHold, SessionMode, SessionRelease, SessionWaitTime, setCmdType, setCmdTypeInput, setCmdTypeOutput, SetCommandCode, setCommandCodeDebugString, setCommandCompleteListener, SetDestinationAddress, SetNewID, SetReturnAddress, SetReturnCode, setSenderServiceNode, SetSessionHold, SetSessionMode, SetSessionRelease, SetSessionWaitTime, SetTimeOut, TimeOut, toString, UseFlatInputBuffer, UseFlatOutputBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_DOMAIN

public static final java.lang.String DEFAULT_DOMAIN
See Also:
Constant Field Values

ALL_DOMAINS

public static final java.lang.String ALL_DOMAINS
See Also:
Constant Field Values
Constructor Detail

GetUserAccountInfoCmd

public GetUserAccountInfoCmd()
Constructor for command


GetUserAccountInfoCmd

public GetUserAccountInfoCmd(java.lang.String dom)
Constructor for command - include domain name to request full account info

Parameters:
dom - - account domain: GetUserAccountInfoCmd.DEFAULT_DOMAIN=default domain

GetUserAccountInfoCmd

public GetUserAccountInfoCmd(java.lang.String dom,
                             boolean getNativeUnauthorizedUsers)
Method Detail

getAllNativeIDs

public StringValueSet getAllNativeIDs()
Get list of all approved native user-IDs

Returns:
native IDs, or null if error

getAllInactiveNativeIDs

public StringValueSet getAllInactiveNativeIDs()
Get list of all inactive native user-IDs

Returns:
inactive native IDs, or null if error

getAllNonNativeIDs

public StringValueSet getAllNonNativeIDs()
Get list of all non-native user-IDs

Returns:
non-native IDs, or null if error

getAllInitializedIDs

public StringValueSet getAllInitializedIDs()
Get list of all initialized user-IDs

Returns:
initialized IDs, or null if error

getAllAccounts

public TWGStringArray getAllAccounts()
Get ordered list of all accounts (native active, inactive, and non-native)

Returns:
array of account strings

getAllAccountFullNames

public TWGStringArray getAllAccountFullNames()
Get ordered list of full-names for all accounts (native active, inactive, and non-native)

Returns:
array of account fullname strings

getAllAccountDescriptions

public TWGStringArray getAllAccountDescriptions()
Get ordered list of descriptions for all accounts (native active, inactive, and non-native)

Returns:
array of account description strings

getAllAccountSuperUserFlags

public TWGBooleanArray getAllAccountSuperUserFlags()
Get ordered list of super-user flags for all accounts (native active, inactive, and non-native)

Returns:
array of account superuser flags (true if account is superuser)

getAllUnrevokableNativeIDs

public StringValueSet getAllUnrevokableNativeIDs()
Get list of all approved and unrevokable native user-IDs

Returns:
unrevokable native IDs, or null if error

getAllAccountDomains

public TWGStringArray getAllAccountDomains()
Get list of all account domains, with default domain first

Returns:
list of account domains, with default domain first

getInvalidTWGUserOIDs

public LongValueSet getInvalidTWGUserOIDs()
Get list of all invalid TWGUser object OIDs

Returns:
list invalid TWGUser object OIDs