LDAPGateway::getNodes
Query for LDAP nodes (organizational units, containers, and domains).
Signature
public function getNodes([null|string
$baseDn = NULL,
[int
$scope = Zend\Ldap\Ldap::SEARCH_SCOPE_SUB,
[array
$attributes = ,
[string
$sort = '']]]] )
Parameters
$baseDn
—
object
- The DN to search from. Default is the baseDn option in the connection if not given
$scope
—
int
- The scope to perform the search. Zend_Ldap::SEARCH_SCOPE_ONE, Zend_LDAP::SEARCH_SCOPE_BASE. Default is Zend_Ldap::SEARCH_SCOPE_SUB
$attributes
—
array
- Restrict to specific AD attributes. An empty array will return all attributes
$sort
—
string
- Sort results by this attribute if given
Returns
- array