Open chevinbrown opened 8 years ago
What if I want to get a bunch of stuff back from my LDAP query?
Currently, I have to do:
self.email = Devise::LDAP::Adapter.get_ldap_param(self.username,"mail").first.to_s self.first_name = Devise::LDAP::Adapter.get_ldap_param(self.username,"givenName").first.to_s self.last_name = Devise::LDAP::Adapter.get_ldap_param(self.username,"sn").first.to_s ........etc........
Maybe I'm missing something, but it seems we should be able to return an array? Please advise!
What if I want to get a bunch of stuff back from my LDAP query?
Currently, I have to do:
Maybe I'm missing something, but it seems we should be able to return an array? Please advise!