package ldap
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=b5b3d095351ec4af7c93795fd9c8e68d8f106cea910f72414846402bc20f3a96
md5=ab4569687487ee49427aa0a93f02e375
doc/ldap/Ldap_ooclient/class-ldapentry/index.html
Class Ldap_ooclient.ldapentry
Source
this object represents a remote object within local memory. It records all local changes made to it (if it's changetype is set to `MODIFY), and can commit them to the server at a later time via Ldap_ooclient.ldapcon.update_entry
.
method add : op_lst -> unit
add values to an attribute (or create a new attribute). Does not change the server until you update
return a list of the type (name) of all the attributes present on the object
method changes : (Ldap_types.modify_optype * string * string list) list
return a list of changes made to the object in a the format of a modify operation. For example, you can apply the changes to another ldapentry object using the Ldap_ooclient.ldapentry.modify
method
method changetype : changetype
return the changetype of the object
method delete : op_lst -> unit
delete attributes from the object, does not change the directory until you update
method diff : ldapentry_t ->
(Ldap_types.modify_optype * string * string list) list
given an ldapentry, return the differences between the current entry and the specified entry in the form of a modify operation which would make the specified entry the same as the current entry.
method modify : (Ldap_types.modify_optype * string * string list) list -> unit
Apply modifications to object in memory, does not change the database until you update using Ldap_ooclient.ldapcon.update_entry
method replace : op_lst -> unit
replace values in the object, does not change the database until you call update
method set_changetype : changetype -> unit
set the changetype of the object