Class Ooldap.ldapentry


class ldapentry : object .. end
An ldap entry, returned from a server

method add : op_lst -> unit
Add attributes and objectclasses to an entry locally
method delete : op_lst -> unit
Delete attributes and objectclasses from an entry locally
method replace : op_lst -> unit
Replace attributes and objectclasses in an entry locally
method attributes : string list
Get a list of attributes on the entry
method exists : string -> bool
check to see whether the attribute exists
method get_value : string -> string list
Get a list of values for an entry
method changes : (Ocamldap.mod_op * string * string list) list
Get a list of changes made to the entry locally in the form of a modattr list suitable for feeding directly to modify_s
method changetype : changetype
Get the changetype. Controls whether or not local changes to the entry are recorded or not.
method set_changetype : changetype -> unit
Set the changetype. changetype MODIFY will record changes, all others will ignore them for now. This only applies to the changes list, locally stored attributs will always be changed
method flush_changes : unit
Get rid of recorded changes. Note, this will not change the the locally recorded value of any attributes on the entry, it will only prevent changes from being propigated to the server when passing this entry to update_entry
method dn : string
Get the distinguished name of the entry
method set_dn : string -> unit
Set the destinguished name of the entry
method print : unit
depricated, print a textual representation of the entry