Zend\Ldap\Node\RootDse\ActiveDirectory
Zend\Ldap\Node\RootDse\ActiveDirectory provides a simple data-container for the RootDse node of an Active Directory server.
Synopsis
class ActiveDirectory
extends RootDse
{
- // Inherited constants from RootDse
- const SERVER_TYPE_GENERIC = 1;
- const SERVER_TYPE_OPENLDAP = 2;
- const SERVER_TYPE_ACTIVEDIRECTORY = 3;
- const SERVER_TYPE_EDIRECTORY = 4;
- // Inherited members from AbstractNode
- protected array $systemAttributes;
- protected Dn $dn;
- protected array $currentData;
- // methods
- public string|null getConfigurationNamingContext()
- public string|null getCurrentTime()
- public string|null getDefaultNamingContext()
- public string|null getDnsHostName()
- public string|null getDomainControllerFunctionality()
- public string|null getDomainFunctionality()
- public string|null getDsServiceName()
- public string|null getForestFunctionality()
- public string|null getHighestCommittedUSN()
- public string|null getIsGlobalCatalogReady()
- public string|null getIsSynchronized()
- public string|null getLDAPServiceName()
- public string|null getRootDomainNamingContext()
- public string|null getSchemaNamingContext()
- public string|null getServerName()
- public bool supportsCapability()
- public bool supportsControl()
- public bool supportsPolicy()
- public int getServerType()
- public Dn getSchemaDn()
- // Inherited methods from RootDse
- public static RootDse create()
- protected void __construct()
- public array getNamingContexts()
- public string|null getSubschemaSubentry()
- public bool supportsVersion()
- public bool supportsSaslMechanism()
- public int getServerType()
- public Dn getSchemaDn()
- // Inherited methods from AbstractNode
- protected void __construct()
- protected void loadData()
- public AbstractNode reload()
- protected Dn _getDn()
- public Dn getDn()
- public string getDnString()
- public array getDnArray()
- public string getRdnString()
- public array getRdnArray()
- public array getObjectClass()
- public array getAttributes()
- public string toString()
- public string __toString()
- public array toArray()
- public string toJson()
- public array getData()
- public bool existsAttribute()
- public bool attributeHasValue()
- public mixed getAttribute()
- public array|int getDateTimeAttribute()
- public void __set()
- public mixed __get()
- public void __unset()
- public bool __isset()
- public void offsetSet()
- public mixed offsetGet()
- public void offsetUnset()
- public bool offsetExists()
- public int count()
Hierarchy
Extends
Constants
Name | Value |
---|---|
SERVER_TYPE_GENERIC | 1 |
SERVER_TYPE_OPENLDAP | 2 |
SERVER_TYPE_ACTIVEDIRECTORY | 3 |
SERVER_TYPE_EDIRECTORY | 4 |
Members
protected
- $currentData
—
array
Holds the node's current data. - $dn
—
\Zend\Ldap\Dn
Holds the node's DN. - $systemAttributes
Methods
public
- getConfigurationNamingContext() — Gets the configurationNamingContext.
- getCurrentTime() — Gets the currentTime.
- getDefaultNamingContext() — Gets the defaultNamingContext.
- getDnsHostName() — Gets the dnsHostName.
- getDomainControllerFunctionality() — Gets the domainControllerFunctionality.
- getDomainFunctionality() — Gets the domainFunctionality.
- getDsServiceName() — Gets the dsServiceName.
- getForestFunctionality() — Gets the forestFunctionality.
- getHighestCommittedUSN() — Gets the highestCommittedUSN.
- getIsGlobalCatalogReady() — Gets the isGlobalCatalogReady.
- getIsSynchronized() — Gets the isSynchronized.
- getLDAPServiceName() — Gets the ldapServiceName.
- getRootDomainNamingContext() — Gets the rootDomainNamingContext.
- getSchemaDn() — Returns the schema DN
- getSchemaNamingContext() — Gets the schemaNamingContext.
- getServerName() — Gets the serverName.
- getServerType() — Gets the server type
- supportsCapability() — Determines if the capability is supported
- supportsControl() — Determines if the control is supported
- supportsPolicy() — Determines if the version is supported
Inherited from Zend\Ldap\Node\RootDse
public
- create() — Factory method to create the RootDse.
- getNamingContexts() — Gets the namingContexts.
- getSchemaDn() — Returns the schema DN
- getServerType() — Gets the server type
- getSubschemaSubentry() — Gets the subschemaSubentry.
- supportsSaslMechanism() — Determines if the sasl mechanism is supported
- supportsVersion() — Determines if the version is supported
Inherited from Zend\Ldap\Node\AbstractNode
protected
- _getDn() — Gets the DN of the current node as a Zend\Ldap\Dn.
- loadData()
public
- __get() — Gets a LDAP attribute.
- __isset() — Checks whether a given attribute exists.
- __set() — Sets a LDAP attribute.
- __toString() — Cast to string representation {@see toString()}
- __unset() — Deletes a LDAP attribute.
- attributeHasValue() — Checks if the given value(s) exist in the attribute
- count() — Returns the number of attributes in node.
- existsAttribute() — Checks whether a given attribute exists.
- getAttribute() — Gets a LDAP attribute.
- getAttributes() — Gets all attributes of node.
- getData() — Gets node attributes.
- getDateTimeAttribute() — Gets a LDAP date/time attribute.
- getDn() — Gets the DN of the current node as a Zend\Ldap\Dn.
- getDnArray() — Gets the DN of the current node as an array.
- getDnString() — Gets the DN of the current node as a string.
- getObjectClass() — Gets the objectClass of the node
- getRdnArray() — Gets the RDN of the current node as an array.
- getRdnString() — Gets the RDN of the current node as a string.
- offsetExists() — Checks whether a given attribute exists.
- offsetGet() — Gets a LDAP attribute.
- offsetSet() — Sets a LDAP attribute.
- offsetUnset() — Deletes a LDAP attribute.
- reload() — Reload node attributes from LDAP.
- toArray() — Returns an array representation of the current node
- toJson() — Returns a JSON representation of the current node
- toString() — Returns the DN of the current node. {@see getDnString()}