-
Couldn't load subscription status.
- Fork 2
attribute transformations
Ryan Newington edited this page Jun 6, 2016
·
1 revision
The MA is capable of performing a transformation on an attribute before it is imported into FIM. Transformations are achieved using NET regular expression substitutions
The <attribute-transformations> is optional, but if it is present, must contain one or more <attribute-transformation> elements.
| XML Attribute | Description | Allowed Values |
|---|---|---|
| attribute | The name of the attribute to transform | Any attribute defined in the MA schema for the specified object class |
| regex-find | The regular expression used to match a value for transformation | Any valid NET regular expression syntax |
| regex-replace | A regular expression defining the substitution to perform | Any valid .NET regular expression syntax |
If the <attribute-transformation> is applied to a multivalued attribute, each value in the array is transformed. |
<attribute-transformations>
<attribute-transformation attribute="member" regex-find=".+" regex-replace="cn=$&,ou=users"/>
</attribute-transformations>
The example takes each member value from the multivalued attribute and converts the value into a dn format.