This project has moved. For the latest updates, please go here.

<rule xsi:type="sshma:rule-AttributePresenceRule"> element

The AttributePresenceRule type is used to determine if the specified attribute is present on the export object.

The <rule> element must contain the following attributes;
XML Attribute Name Description Allowed Values
xsi:type The type of rule This value must be sshma:rule-AttributePresenceRule
id The unique ID for the rule. This is used to reference the rule in the command object Any string value that has not been used elsewhere in the XML file
attribute The attribute to evaluate Any attribute defined in the schema that is present on the class of object being evaluated
operator The operator to use during the evaluation Either IsPresent or NotPresent

Example

<rule xsi:type="sshma:rule-AttributePresenceRule" id="AccountNameIsPresent" attribute="accountName" operator="IsPresent"/>
The example shown above passes evaluation if the accountName attribute is present.

Last edited Sep 21, 2013 at 2:08 AM by ryannewington, version 1