This repository was archived by the owner on Jul 24, 2023. It is now read-only.
  
  
  
  
  
Description
- Laravel Version: 5.5
 
- Adldap2-Laravel Version: 10.3.2
 
- PHP Version: 7.1
 
- LDAP Type: 
 
Description:
I am creating a phone list via LDAP and I cannot get the data for a query like
object (users-> samaccountname, etc) to use foreach and display the fields I need in the view. Is there a way to do this?
see my query .. that way I get the confusing data in array and when I try to scroll with foreach I can't
   $ou = $this->ldap->search()->ous()->find('Bank');
       
   $users = $this->ldap->search()->users()->select('l','samaccountname', 'telephonenumber', 'department')->in($ou)
                                  ->whereEnabled()
                                  ->whereContains('telephonenumber', 'Ramal')
                                  ->get();
 
