Class Ldap_ooclient.scldapentry
New Methods
method is_allowed : string -> boolReturns true if the attributed specified is allowed by the current set of objectclasses present on the entry.
method is_missing : string -> boolReturns true if the attribute specified is a must, but is not currently present.
method list_allowed : Setstr.elt listReturn a list of all attributes allowed on the entry (by oid)
method list_missing : Setstr.elt listReturn a list of all missing attributes (by oid)
method list_present : Setstr.elt listReturn a list of all present attributes. In contrast to the
attributesmethod, this method ignores missing required attributes and just returns those attributes which are actually present.
method of_entry : ?scflavor:scflavor -> ldapentry -> unitGiven an
Ldap_ooclient.ldapentrycopy all of it's data into the current object, and perform a schema check.- parameter scflavor
Default
PessimisticThe schema checking bias, seeLdap_ooclient.scflavor
Inherited Methods
method add : op_lst -> unitAdd values to the entry, just as
Ldap_ooclient.ldapentry.add, However, after the add is complete the schema checker is run inOptimisticmode. seeLdap_ooclient.scflavor
method delete : op_lst -> unitSame as
Ldap_ooclient.ldapentry.add, except that the schema checker is run inPessimisticmode after the operation is complete. seeLdap_ooclient.scflavor
method replace : op_lst -> unitSame as
Ldap_ooclient.ldapentry.replaceexcept that once the replace has completed the schema checker is run again inOptimisticmode. SeeLdap_ooclient.scflavor
method attributes : string listSame as
Ldap_ooclient.ldapentry.attributes, except that the returned list contains attributes which may not yet exist on the entry. For example musts which are not yet present will be listed.
method exists : string -> boolSame as
Ldap_ooclient.ldapentry.existsexcept that it refrences attributes which may not yet exist. For example musts which are not yet present.
method get_value : string -> string listSame as
Ldap_ooclient.ldapentry.get_value, except that attributes which do not yet exists may be referenced. For example a must which has not yet been satisfied will return["required"]whenget_valueis called on it.
method modify : (Ldap_types.modify_optype * string * string list) list -> unitSame as
Ldap_ooclient.ldapentry.modifyexcept that the schema checker is run inPessimisticmode after the modification is applied. seeLdap_ooclient.scflavor.
method changes : (Ldap_types.modify_optype * string * string list) listSame as
Ldap_ooclient.ldapentry.changesexcept that changes made by the schema checker may also be listed.
method changetype : changetype
method dn : stringSame as
Ldap_ooclient.ldapentry.dn
method diff : ldapentry_t -> (Ldap_types.modify_optype * string * string list) listSame as
Ldap_ooclient.ldapentry.diff
method print : unit- deprecated
Same as
Ldap_ooclient.ldapentry.print, except that it prints attributes which may not yet be present on the object. For example, if the object has unsatisfied musts, it will print "attrname: required" for that attribute.
method set_changetype : changetype -> unit
method set_dn : string -> unitSame as
Ldap_ooclient.ldapentry.set_dn