Description
searchCtls.setReturningAttributes(new String[]
{"memberOf"});
This line will do the search with only returning the information the call in getRoleNamesForUser needs. It's a minor performance improvement.
searchCtls.setReturningAttributes(new String[]
{"memberOf"});
This line will do the search with only returning the information the call in getRoleNamesForUser needs. It's a minor performance improvement.