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.

nsIAbLDAPCard

IID:2831b3b0-30ef-4070-8ad3-90ae04980e11
Inherits From:nsISupports

Properties

ACString dn


Methods

ACString buildRdn ( nsIAbLDAPAttributeMap attrMap , PRUint32 attrCount , arrayof char* attributes ) nsIArray getLDAPMessageInfo ( nsIAbLDAPAttributeMap attrMap , PRUint32 classCount , arrayof char* classes , PRInt32 updateType ) void setMetaProperties ( nsILDAPMessage message )

ACString buildRdn ( nsIAbLDAPAttributeMap attrMap , PRUint32 attrCount , arrayof char* attributes )

Builds a relative distinguished name (RDN) with the given set of attributes.

Arguments:
attrMap: The map between LDAP attributes and card properties
attrCount: The number of attributes to use for the RDN
attributes: The name of the attributes to use for the RDN

nsIArray getLDAPMessageInfo ( nsIAbLDAPAttributeMap attrMap , PRUint32 classCount , arrayof char* classes , PRInt32 updateType )

Returns the required information for an LDAP update message.

Arguments:
attrMap: The map between LDAP attributes and card properties
classCount: The number of objectClass values
classes: The objectClass values that the card needs to have
updateType: This should be one of: nsILDAPModification::MOD_ADD nsILDAPModification::MOD_REPLACE
Returns:
Returns an array of modifications required to add or replace the card in the ldap directory.

void setMetaProperties ( nsILDAPMessage message )

Stores meta-properties from a raw LDAP search result.

Arguments:
message: The LDAP search result message.

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com