WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIAbLDAPDirectory

IID:684c8f3e-dcd1-4f16-9cfc-f0f77080a249
Inherits From:nsISupports

XXX This should really inherit from nsIAbDirectory, and some day it will. But for now, doing that complicates implementation.


Properties

readonly nsIAbLDAPAttributeMap attributeMap

The attribute map that is associated with this directory's server.

ACString authDn

The AuthDN to use to access the server.

ACString dataVersion

The LDAP server's scoping of the lastChangeNumber.

PRInt32 lastChangeNumber

The Last Change Number used for replication.

nsILDAPURL lDAPURL

The LDAP URL for this directory. Note that this differs from nsIAbDirectory::URI. This attribute will give you a true ldap url, e.g. ldap://localhost:389/ whereas the uri will give you the directories rdf uri, e.g. moz-abldapdirectory:///.

PRInt32 maxHits

The maximum number of matches that the server will return per a search.

ACString objectClasses

The LDAP objectClass values added to cards when they are created/added, in the form of a comma separated list.

The default is to use the following classes: top,person,organizationalPerson,inetOrgPerson,mozillaAbPersonAlpha

PRUint32 protocolVersion

The version of LDAP protocol in use.

ACString rdnAttributes

The LDAP attributes used to build the Relative Distinguished Name of new cards, in the form of a comma separated list.

The default is to use the common name (cn) attribute.

readonly nsIAddrDatabase replicationDatabase

A database that is set up for the replication file.

readonly nsILocalFile replicationFile

The replication (offline) file that this database uses.

ACString replicationFileName

The Replication File Name to use.

nsIMutableArray searchClientControls

nsIMutableArray searchServerControls

If set, these arrays of nsILDAPControls are passed through to the nsILDAPOperation that searchExt is called on.


References

This interface is passed as an argument to the following methods:

nsIAbLDAPProcessReplicationData.init, nsIAbLDAPReplicationQuery.init, nsIAbLDAPReplicationService.cancelReplication, nsIAbLDAPReplicationService.startReplication

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com