Here is an example of how to search for attributes defined in global settings.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <searchRequest xmlns="urn:oasis:names:tc:SPML:1:0" xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core"> <searchBase type="urn:oasis:names:tc:SPML:1:0#DN"> <id></id> </searchBase> <filter> <dsml:equalityMatch name="name"> <dsml:value>*</dsml:value> </dsml:equalityMatch> </filter> <attributes> <dsml:attribute name="selfAuthEnabled"></dsml:attribute> <dsml:attribute name="numberSelfAuthQuestions"></dsml:attribute> <dsml:attribute name="numberOptionalSelfAuthProperties"></dsml:attribute> </attributes> </searchRequest>
Note: You should not specify a value for the searchBase field. If you are doing this search from the SPML Manager you will need to leave the searchBase field empty.
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |