ADS Input Format Fields

The structure of the input records generated by the ADS input format depends on the value specified for the objClass parameter.

Property Mode

When the objClass parameter is left unspecified, the ADS input format works in "property mode", returning a record for each property of each object visited during the enumeration.
In this case, input records have the following fixed structure:
Name Type Description
ObjectPath STRING Full Active Directory path of the object containing this property
ObjectName STRING Name of the object containing this property
ObjectClass STRING Class name of the object containing this property
PropertyName STRING Name of the property being processed
PropertyValue STRING Value of the property being processed
PropertyType STRING Type of the property being processed
Queries operating in "property mode" can work on Active Directory objects of different types, and since each input record represents a single object property, they can only reference a single property at a time.

Object Mode

When the name of an Active Directory object class is specified for the objClass parameter, the ADS input format works in "object mode", returning a record for each object visited during the enumeration that is an instance of the specified class.
In this case, the first input record field is fixed, and it is described in the following table:
Name Type Description
ObjectPath STRING Full Active Directory path of the object being processed
This field is followed by fields representing all the properties of the specified object class. Each field is named after the corresponding property name, and its data type is determined by the property type declared by the Active Directory schema object for the specified class.

Queries operating in "object mode" can only work on Active Directory objects of a single type, and since each input record represents a single object, they can reference multiple properties of the same object at the same time.


© 2004 Microsoft Corporation. All rights reserved.