Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Program model > Control DataObject
SearchResponse Control
SearchResponseControl extends from Control and indicates that additional search results have been found
SearchResponseControl is only returned from a search API call, if the countLimit property specified in the SearchControl data object is set to a value greater than 0.
The structure of a SearchResponseControl data object consists of:
hasMoreResults
specifies that additional search results exist. The default setting is false, but it is set to true, if the actual number of results from the search is greater than the specified value of the countLimit parameter in SearchControl.
XML schema definition
The following is the XML schema definition for the SearchResponseControl DataObject:
< <xsd:complexType name="SearchResponseControl"> <xsd:complexContent> <xsd:extension base="Control"> <xsd:attribute name="hasMoreResults" type="xsd:boolean"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
Sample data object
The following is a sample SearchResponseControl DataObject that is returned from a search API call:
<wim:controls xsi:type="wim:SearchResponseControl" hasMoreResults="true"/>
Parent topic: Control DataObject