-
Notifications
You must be signed in to change notification settings - Fork 2
rule AttributePresenceRule
Ryan Newington edited this page Jun 6, 2016
·
2 revisions
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 | commands]] object |
| 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
|
<rule xsi:type="sshma:rule-AttributePresenceRule" id="AccountNameIsPresent" attribute="accountName" operator="IsPresent"/>
The example shown above passes evaluation if the accountName attribute is present.