-
Notifications
You must be signed in to change notification settings - Fork 2
Get DN component
ryannewington edited this page Jun 23, 2016
·
1 revision
This transform allows you to extract a numbered component of a distinguished name. You can choose to return the full component (the attribute/value pair in the format of "CN=value") or just the value itself.
Parameter | Description |
---|---|
Direction | Specifies the direction of the search for the specified component |
Component index | Specifies the number of the component to retrieve, relative to the search direction. If the direction is set to left, and the index is 1, then the first component is retrieved. If direction is set to right, then the last component is retrieved |
Format | Specifies if the transform should return only the value, or the full text of the component(attribute=value) |
The transform accepts a string value as an input.
The transform accepts multiple input values, and processes each of them individually
The transform returns a string value
Input value | Direction | Component Index | Format | Output value |
---|---|---|---|---|
cn=user0001,ou=Users,dc=domain,dc=local | Left | 1 | Value only | user0001 |
cn=user0001,ou=Users,dc=domain,dc=local | Right | 1 | Value only | local |
cn=user0001,ou=Users,dc=domain,dc=local | Left | 2 | Full RDN | ou=Users |
cn=user0001,ou=Users,dc=domain,dc=local | Right | 2 | Full RDN | dc=domain |