Enable/Disable Account

Operation Name

Enable/Disable Account

Function Overview

Sets up a user account corresponding to specified search criteria to be enabled or disabled.

Properties

For information about using variables, refer to "variables".
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show on the script canvas.  
Required settings
Item name Required/Optional Use of variables Description Remarks
Destination Required Not available Select a global resource.
For more details on Global Resource settings, refer to "Global resource properties".
  • [Add]:
    Adds a new global resource.
  • [Edit list]:
    Enables to edit the global resource settings in "Edit resource list".
 
Search criteria Optional - Specify search criteria.

It can be operated by following buttons.
  • [Add]:
    Adds a search criteria.
  • [Up]:
    Moves the order of the selected search criteria upwards by one.
  • [Down]:
    Moves the order of the selected search criteria downwards by one.
  • [Delete]:
    Deletes a search criteria.
 
Search criteria/Item Required Not available Select the search item.
  • [Common name]:(Default)
  • [Last name]:
  • [First name]:
  • [Display name]:
  • [Telephone number]:
  • [E-mail]:
  • [Company]:
Search criteria/Range Required Not available Select the search range.
  • [Contain]:(default)
  • [Equal to]:
  • [Start with]:
  • [End with]:
 
Search criteria/Content Required Available Enter the searching content.
  • If entering english letter, a capital letter and a small letter will be searched without distinction.
Account settings Required Not available Select a content of account settings.
  • [Enabled]:(Default)
    Sets up user account as enabled.
  • [Disabled]:
    Sets up user account as disabled.
 
Property action
Item name Description Remarks
Set search items Start Set search items wizard and then set up displayed item of [item] from [Search criteria].  
Account option settings
Item name Required/optional Use of variables Description Remarks
User must change password at next logon Optional Not available Select whether an account to become search criteria with "User must change password at next logon" enable.
  • [Not checked]:(Default)
    Not set as search criteria.
  • [Checked]:
    Set as search criteria.
 
Password never expires Optional Not available Select whether an account to become search criteria with "Password never expires" enable.
  • [Not checked]:(Default)
    Not set as search criteria.
  • [Checked]:
    Set as search criteria.
 
Store password using reversible encryption Optional Not available Select whether an account to become search criteria with "Store password using reversible encryption" enable.
  • [Not checked]:(Default)
    Not set as search criteria.
  • [Checked]:
    Set as search criteria.
 
Account disabled Optional Not available Select whether an account to become search criteria with "Account disabled" enable.
  • [Not checked]:(Default)
    Not set as search criteria.
  • [Checked]:
    Set as search criteria.
 
Comment
Item name Required/optional Use of variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Schema

Input schema

None.

Output schema

None.

Transaction

Transaction is not supported.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
execute_count A number of data set up as enable or disable will be stored.
  • Default value is null.
message_category Stores the category of message code corresponding to the occured error.
  • Default value is null.
message_code Stores the code of message code corresponding to the occured error.
  • Default value is null.
message_level Stores the severity of message code corresponding to the occured error.
  • Default value is null.
error_type When an error occurs, the type of the error will be stored.
  • Default value is null.
  • Error is represented in the format depicted below.
    Example:"java.io.FileNotFoundException"
  • The message may vary depending on the DataSpider Servista version.
error_message When an error occurs, the message of the error will be stored.
  • Default value is null.
  • The message may vary depending on the DataSpider Servista version.
error_trace When an error occurs, the trace information of the errors will be stored.
  • Default value is null.
  • The message may vary depending on the DataSpider Servista version or the client application used.

Search Method When Two or More Items are Set

Use OR condition when items are same, and use AND conditon when items are different.
Example:
Item Range Content Search method
Common name
Common name
Equal to
Start with
Suzuki Ichiro
Tanaka
Common name="Suzuki Ichiro" OR Common name="Tanaka*"
Common name
Telephone number
Equal to
Start with
Suzuki Ichiro
03
Common name="Suzuki Ichiro" AND Telephone number="03*"

Specification Limits

Main Exceptions

Exception name Cause Solution
ResourceNotFoundException
Resource definition could not be found.Name: []
[Destination] is not specified. Specify [Destination].
ResourceNotFoundException
Resource definition could not be found.Name:[<Name of global resources >]
Resource definition selected in [Destination] is not found. Confirm the global resource specified in [Destination].
InvalidPropertyConfigurationException
Required items of resource are not specified.
Required items of resource selected by [Destination] are not specified. Specify required items of the resource.
InvalidPropertyConfigurationException
Search criteria(content) is not entered.
[Content] of [Search criteria] is not entered. Enter [Content] of [Search criteria] or delete it from [Search criteria].
java.rmi.UnmarshalException Certificate is not imported in $DATASPIDER_HOME/jre/lib/security/cacerts. It is necessary to import a certificate in $DATASPIDER_HOME/jre/lib/security/cacerts.