使用下列轉換顯示由其他屬性指定的屬性值。例如,顯示 uid 作為 cn,以及顯示已儲存在項目中的 cn 值。下列指令行不會將其他值儲存至 cn,但會在結果傳回用戶端之前套用轉換。
$ dpconf add-virtual-transformation dataview1 read add-attr-value cn \${uid}
下圖表示當搜尋傳回使用者項目時,使用者項目所發生的轉換。