3.1.4.1.1.2 ad:Selection
The optional element /soapenv:Envelope/soapenv:Body/wsen:Enumerate/ad:Selection specifies which fragments (SelectionProperties) (that is, what portions (directory attributes)) of the object to return for a certain enumeration. The selection element is specified using a selection language that is derived from XPath 1.0. If specified, the Selection element MUST contain at least one SelectionProperty (see section 3.1.4.1.1.2.1).
If the Selection element is absent in the request, all default attributes of the directory object SHOULD be returned.<9>
Following is the XML Schema [XMLSCHEMA1] definition of the Selection element.
-
<xsd:element name ="Selection"> <xsd:complexType> <xsd:sequence> <xsd:element name="SelectionProperty" type="xsd:string" minOccurs="1" maxOccurs ="unbounded"/> </xsd:sequence> <xsd:attribute name="Dialect" fixed=http://schemas.microsoft.com/2008/1/ActiveDirectory/Dialect/XPath-Level-1 use="required"/> </xsd:complexType> </xsd:element>
For example, the following XML shows the contents of the Selection element.
-
<ad:Selection Dialect="http://schemas.microsoft.com/2008/1/ActiveDirectory/Dialect/XPath-Level-1"> <ad:SelectionProperty> <XPath Level I> </ad:SelectionProperty> </ad:Selection>
The value of /soapenv:Envelope/ soapenv:Body/wsen:Enumerate/ad:Selection/@Dialect is specified in section 3.1.4.1.2.1.