Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds get_users method to provide an interface for #76

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

jm66
Copy link
Contributor

@jm66 jm66 commented May 12, 2020

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.

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.

Signed-off-by: JM Lopez <jm.lopez@utoronto.ca>
@jm66
Copy link
Contributor Author

jm66 commented May 17, 2021

hey @alexferl any chance merging this one?

@dakide
Copy link

dakide commented Apr 27, 2022

This would be very beneficial.

@alexferl alexferl merged commit ee9242e into alexferl:master Apr 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants