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

Get DN component

Summary

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.

Parameters

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)

Input Type

The transform accepts a string value as an input.

Multiple input values

The transform accepts multiple input values, and processes each of them individually

Return Type

The transform returns a string value

Usage

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

Last edited Feb 22, 2015 at 12:56 AM by ryannewington, version 1