flask-simpleldap icon indicating copy to clipboard operation
flask-simpleldap copied to clipboard

Adds get_users method to provide an interface for

Open jm66 opened this issue 5 years ago • 2 comments

listing all available users in the ldap directory based on the filter defined in LDAP_USERS_OBJECT_FILTER

The get_users method has two arguments fields and dn_only to customize the result. i.e. get_users(fields=['uid']) provide a list of dict with uid included. if only get_users(dn_only=True) is provided, a list of available users dn is returned. If no users in directory, an empty list is returned.

jm66 avatar May 12 '20 18:05 jm66

hey @alexferl any chance merging this one?

jm66 avatar May 17 '21 20:05 jm66

This would be very beneficial.

dakide avatar Apr 27 '22 19:04 dakide