Active Directory Provider::Get Properties

Returns one or more properties for a Microsoft® Active Directory® object. Used by Microsoft® Provisioning Framework (MPF).

Get Properties is a wrapper for IADS::GetEx.

XML Input Schema

The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.

	<property name="..">0..unbounded</property>

XML Output Schema

The following code fragment shows the format for data this procedure returns. For more information on individual elements and attributes, see the Elements and Attributes table.

	<property name="..">1..unbounded

Elements and Attributes

The following table describes the XML schema elements and attributes. Unless otherwise indicated, the data type is string.

Element Description, relationships, and attributes
executeData Description:
Encapsulates the procedure's input and output data.

path (minOccurs="1" maxOccurs="1", input only)
(minOccurs="1" maxOccurs="1", output only)
(minOccurs="0" maxOccurs="1", input only)

path Description:
Lightweight directory access protocol (LDAP) path of the object to retrieve properties from.


properties Description:
Returned list of properties with their values. Multi-valued properties will return multiple value nodes. Some properties that ADSI does not accept as input in string format will be returned using an XML data type. A similar format must be used when passing values back to the Set Properties action.

If a property type was not implemented to be returned, no property node is returned. Note that IADs::GetEx returns the same thing for an invalid property name as for a valid property name with no value, so in both cases this action will generate an empty property node.


property (minOccurs="1" maxOccurs="*", output)

property Description:
Name of the property, used for both input and output XML. Output property nodes can be followed by value nodes.

value (minOccurs="1" maxOccurs="*", output only)


name Name of the property.
propertyList Description: 
A list of Active Directory properties to retrieve. Use the LDAP attribute display name for the name attribute of the each property element. If the propertyList element is not provided or is empty, all properties are returned.


(minOccurs="0" maxOccurs="*", input)


name Required. Name of the property to retrieve.
value Description:
A value of a property. Example (for a VT_BOOL property type):
<property name='showInAdvancedViewOnly'>
  <value xmlns:dt='urn:schemas-microsoft-com:datatypes' dt:dt='boolean'>1</value>



Active Directory Provider supports the following property types (based on what IADs::GetEx returns).

See Also

Active Directory Provider, Preferred DC Active Directory Provider, Set Properties

Up Top of Page
© 1999-2002 Microsoft Corporation. All rights reserved.