Search Group

Operation Name

Search Group

Function Overview

Gets group corresponding to specified search criteria.

Data Model

XML type.

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 Not available
For more details about how to set global resources, refer to "Global resources".
  • [Add]:
    Adds a new global resource.
  • [Edit list]:
    Enables to edit the global resource settings in the "Edit resource list".
 
Search criteria Optional - Specify search criteria.

Operation is available with button below.
  • [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 search item.
  • [Group name]:(default)
  • [Group name (pre-Windows2000)]:
  • [Group type]:
  • [Description]:
  • [e-mail]:
  • [Memp]:
  • Displayed item can be changed in [Search item settings].
  • If [Group type] is selected, select [same as next character string] at [Range].
Search criteria/Range Required Not available Select search range.
  • [involve in next character string]:(default)
  • [same as next character string]:
  • [begin with next character string]:
  • [finish with next character string]:
 
Search criteria/
Content
Required Available Enter search content.
  • Searches without distinction of uppercase/lowercase letter when English character is entered.
Property action
Item name Description Remarks
Search item settings Sets item to [Item] of [Search criteria] by starting Search item setting wizard.  
Data processing method
Item name Required/Optional Use of variables Description Remarks
Data processing method Required Not available Select a data processing method.
  • [Use script settings]:(default)
    Applies the setting of mass data processing setup in script property to the adapter.
  • [Disable]:
    Mass data processing is not performed.
  • [Enable]:
    Mass data processing is performed.
 
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

<?xml version="1.0" encoding="Shift_JIS"?>
<activedirectory>
<group>
  <cn></cn>
  <sAMAccountName></sAMAccountName>
  <groupType></groupType>
  <groupNameIncludedMember></groupNameIncludedMember>
  <description></description>
  <mail></mail>
  <info></info>
</group>
</activedirectory>
English name Japanese name Remarks
cn Group name  
sAMAccountName pre-Windows 2000 group name  
groupType Group type
groupNameIncludedMember Belonging group name
  • Separate multiple belonging groups using comma, enclose each with ""(double quotation).
description Description  
mail E-mail  
info Notes  

Loading Schema on Mapper

Schema is loaded automatically/manually.
For more ditails, refer to " Edit schema".

Mass Data Processing

Mass data processing is supported.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
execute_count Stores the number of search data.
  • 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 Returns the error type when error occurred.
  • 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_type Returns the error type when error occurred.
  • 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_trace Returns the trace information when error occurred.
  • Default value is null.
  • The message may vary depending on the DataSpider Servista version or the client application used.

How to search if multiple condition is set

Same item is searched under OR condition, and different item is searched under AND condition.
For example:
Item Range Content How to research
Entry name
Entry name
same as next character string
begin with next character string
Suzuki Ichiro
Tanaka
Entry name="Suzuki Ichiro" OR Entry name="Tanaka*"
Entry name
Phone number
same as next character string
begin with next character string
Suzuki Ichiro
03
Entry name="Suzuki Ichiro" AND Phone 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 item of resource is not specified.
Required item of resource selected in [Destination] is not specified. Specify required item of resource.
InvalidPropertyConfigurationException
Search criteria(content) is not entered.
[Content] of [Search criteria] is not entered. Enter [Content] of [Search criteria], or delete from [Search criteria].
java.rmi.UnmarshalException Certificate is not imported in $DATASPIDER_HOME/jre/lib/security/cacerts. It is required to import Certificate in $DATASPIDER_HOME/jre/lib/security/cacerts.