Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsILDAPPrefsService Interface Reference

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

import "nsILDAPPrefsService.idl";

Inheritance diagram for nsILDAPPrefsService:
Inheritance graph
[legend]
Collaboration diagram for nsILDAPPrefsService:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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.
void getServerList (in nsIPrefBranch aPrefBranch, out unsigned long aCount,[array, size_is(aCount), retval] out string aChildArray)
 This will create an array with entries "ldap_2.servers.<server-name>" Each entry in the array is unique.

Detailed Description

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

Definition at line 50 of file nsILDAPPrefsService.idl.


Member Function Documentation

void nsILDAPPrefsService::getServerList ( in nsIPrefBranch  aPrefBranch,
out unsigned long  aCount,
[array, size_is(aCount), retval] out string  aChildArray 
)

This will create an array with entries "ldap_2.servers.<server-name>" Each entry in the array is unique.

Parameters:
aPrefBranchprefBranch object.
aCountReceives the number of elements in the array.
aChildArrayReceives the array with "ldap_2.servers.<server-name>".
Returns:
NS_OK The preference list was successfully retrieved.
Other The preference(s) do not exist or an error occurred.

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.

<server-name>.autocomplete.enabled) to mozilla format (ldap_2.servers.directoryServer)


The documentation for this interface was generated from the following file: