You are here

public function SimpleLdapServer::getSubschemaSubentry in Simple LDAP 8

Returns the SubschemaSubentry for the server.

Return value

string|NULL If available, the SubschemaSubentry string for the server, NULL if there is not one defined.

File

src/SimpleLdapServer.php, line 276

Class

SimpleLdapServer

Namespace

Drupal\simple_ldap

Code

public function getSubschemaSubentry() {
  $this
    ->setRootDse();
  return isset($this->rootdse['subschemasubentry'][0]) ? $this->rootdse['subschemasubentry'][0] : NULL;
}