LdapTools\Connection\LdapConnectionInterface::getRootDse PHP Метод

getRootDse() публичный Метод

Return a RootDse LDAP object for this connection.
public getRootDse ( ) : LdapObject
Результат LdapTools\Object\LdapObject
    public function getRootDse();

Usage Example

Пример #1
0
 function let(LdapConnectionInterface $connection, LdapObject $rootdse)
 {
     $domain = new DomainConfiguration('example.local');
     $domain->setUseTls(true);
     $connection->getConfig()->willReturn($domain);
     $connection->getRootDse()->willReturn($rootdse);
     $config = new Configuration();
     $this->parser = new SchemaYamlParser($config->getSchemaFolder());
     $this->schema = $this->parser->parse('ad', 'user');
 }
All Usage Examples Of LdapTools\Connection\LdapConnectionInterface::getRootDse