Slightly off topic but this is where groovy excels.

List<LDAPProfile> ldapProfiles =
ldapCache.findAllLDAPUsers(keyword)
List<String> names = ldapProfiles*.name

Reply via email to