nsILDAPPrefsService

IID:5a4911e0-44cd-11d5-9074-0010a4b26cda
Inherits From:nsISupports

This service implements migrating ldap prefs from 4.x format to mozilla format.

This interface is intended to be used as a service.

This interface is implemented by the following components:


Methods

void getServerList ( nsIPrefBranch prefBranch , out PRUint32 count , out arrayof char* childArray ) void migrate ( )

void getServerList ( nsIPrefBranch prefBranch , out PRUint32 count , out arrayof char* childArray )

This will create an array with entries "ldap_2.servers." Each entry in the array is unique.

Arguments:
prefBranch: prefBranch object.
count: Receives the number of elements in the array.
childArray: Receives the array with "ldap_2.servers.".
Returns:
Other The preference(s) do not exist or an error occurred.

void migrate ( )

Convert 4.x ldap prefs to mozilla format hostname, dn, scope, port are converted to uri Also converts the autocompletion preference from 4.x format (ldap_2.servers..autocomplete.enabled) to mozilla format (ldap_2.servers.directoryServer)

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com