In an LDAP search filter, is it possible to ask for the 1st, 2nd, nth, or last value of a multi-valued field?
<p>Using a search filter, is it possible to retrieve the last value of a multi-valued field for an object e.g. the department field of the inetOrgPerson?</p>

<p>For instance, if my user cn=Alice has 2 values for department, can I somehow write a search filter that will return the last value only?</p>

<p>Thanks.</p>