How to retrieve a specific item from a multi-valued 'cn' attribute in Domino
説明
In some Domino environments, the Notes Person document may contain multiple 'cn' values
By default, Coexistence Manager for Notes (CMN) Directory Connector treats the 'cn' attribute as a single-value attribute; as a result, the 'displayNameAttribute' in AD is set to the last value from the list of 'cn' values
How does one retrieve a specific item from the list?
対策
Use the script below to retrieve the first item from the list of 'cn' attributes
To retrieve a different item from the list, modify the number in "$list[0]":