# Class type Netldap.ldap_result

    class type ['a] ldap_result = object .. end

A class type for encapsulating results

    method code : result_code

The code, ``Success` on success

    method matched_dn : string

The matchedDN field sent with some codes

    method diag_msg : string

diagnostic message

    method referral : string list

if non-empty, a list of URIs where to find more results

    method value : 'a

the value when `code=`Success`. Raises `LDAP_error` for other codes

    method partial_value : 'a

the value so far available, independently of the code